aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-07-20 01:43:44 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-11-08 04:07:19 +0800
commit8d228611ffed55ab8b4c561a1789296259a342fc (patch)
tree2b0ea0143796dbe3aa8724b6fb4be2dcec0e6913 /src/empathy-call-window.c
parent8b9fd6cc4b679d81e5d4ec962dd148c264017881 (diff)
downloadgsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.tar
gsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.tar.gz
gsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.tar.bz2
gsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.tar.lz
gsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.tar.xz
gsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.tar.zst
gsoc2013-empathy-8d228611ffed55ab8b4c561a1789296259a342fc.zip
Check and create video_preview outside camera control
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 2db7372e0..5603ddf6e 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1290,6 +1290,12 @@ display_video_preview (EmpathyCallWindow *self,
{
EmpathyCallWindowPriv *priv = GET_PRIV (self);
+ if (priv->video_preview == NULL)
+ {
+ create_video_preview (self);
+ add_video_preview_to_pipeline (self);
+ }
+
if (display)
{
/* Display the video preview */