From af3cc2af6c30341cc2a12f63b397d733d3de8a6f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 9 Nov 2009 17:51:57 +0000 Subject: 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 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index a862c2cf1..c6c69aeb2 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"); -- cgit v1.2.3