]> git.0d.be Git - empathy.git/blobdiff - src/empathy-call-window.c
CallWindow: ignore events in the data probe callback
[empathy.git] / src / empathy-call-window.c
index 69ceb17cced22ed85cf83de37ba4ec55d045a60e..7ad0eb1e1cb18de83549220e6fd863c9372cb62c 100644 (file)
@@ -2408,6 +2408,10 @@ empathy_call_window_video_probe_cb (GstPad *pad,
     GstMiniObject *mini_obj,
     EmpathyCallWindow *self)
 {
+  /* Ignore events */
+  if (GST_IS_EVENT (mini_obj))
+    return TRUE;
+
   if (G_UNLIKELY (!self->priv->got_video))
     {
       /* show the remote video */