aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-03-07 07:37:36 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-29 23:36:24 +0800
commit1711b4dffc6c39c948ac441aec2bd81a99c411ff (patch)
treeda67e5344b8da201e3513d30de569b9a7d7e31e0
parentee584165872d730f364018915231e014fb0ca37f (diff)
downloadgsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.tar
gsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.tar.gz
gsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.tar.bz2
gsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.tar.lz
gsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.tar.xz
gsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.tar.zst
gsoc2013-empathy-1711b4dffc6c39c948ac441aec2bd81a99c411ff.zip
Verify that the video source could be linked into the pipeline
-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;