[empathy] Don't display the video preview when the sink is added



commit af3cc2af6c30341cc2a12f63b397d733d3de8a6f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Nov 9 17:51:57 2009 +0000

    Don't display the video preview when the sink is added
    
    We should dislpay it since we started the sending video process so
    there is no point to enforce it at this stage.

 src/empathy-call-window.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index a862c2c..c6c69ae 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1779,16 +1779,6 @@ empathy_call_window_sink_added_cb (EmpathyCallHandler *handler,
       case TP_MEDIA_STREAM_TYPE_VIDEO:
         if (priv->video_input != NULL)
           {
-            EmpathyTpCall *call;
-            g_object_get (priv->handler, "tp-call", &call, NULL);
-
-            if (empathy_tp_call_is_sending_video (call))
-              {
-                display_video_preview (self, TRUE);
-              }
-
-            g_object_unref (call);
-
             if (priv->video_tee != NULL)
               {
                 pad = gst_element_get_request_pad (priv->video_tee, "src%d");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]