]> git.0d.be Git - empathy.git/commitdiff
disable video preview when we turn off video sending
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 10 Nov 2009 11:10:09 +0000 (11:10 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 27 Nov 2009 16:33:42 +0000 (16:33 +0000)
src/empathy-call-window.c

index ce05a4923ef3acb2c77c931f4de1409a49080c0d..0d03dd887472e87c2c0342b1c7c40697ce3e0abf 100644 (file)
@@ -2154,10 +2154,7 @@ empathy_call_window_set_send_video (EmpathyCallWindow *window,
 
   /* When we start sending video, we want to show the video preview by
      default. */
-  if (send)
-    {
-      display_video_preview (window, TRUE);
-    }
+  display_video_preview (window, send);
 
   g_object_get (priv->handler, "tp-call", &call, NULL);
   empathy_tp_call_request_video_stream_direction (call, send);