aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call-window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f565f1f2d..ca7ef6ad1 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2165,7 +2165,11 @@ empathy_call_window_sink_added_cb (EmpathyCallHandler *handler,
if (priv->video_tee != NULL)
{
pad = gst_element_get_request_pad (priv->video_tee, "src%d");
- gst_pad_link (pad, sink);
+ if (GST_PAD_LINK_FAILED (gst_pad_link (pad, sink)))
+ {
+ g_warning ("Could not link videp soure input pipeline");
+ break;
+ }
}
retval = TRUE;