aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-03-07 06:02:32 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-29 23:36:23 +0800
commit4a4a8f89579147d1e712d5da257c83786f86439f (patch)
tree63e9eeaca8729eac46d16aaa978f854de15df85e /src
parentc7662e15ba7412146c8d9d76c9c3b4c3cffb4089 (diff)
downloadgsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.tar
gsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.tar.gz
gsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.tar.bz2
gsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.tar.lz
gsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.tar.xz
gsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.tar.zst
gsoc2013-empathy-4a4a8f89579147d1e712d5da257c83786f86439f.zip
Send stream error when the src pad can't be linked
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 5a157ab94..09197bfe1 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1993,7 +1993,7 @@ empathy_call_window_connected (gpointer user_data)
/* Called from the streaming thread */
-static void
+static gboolean
empathy_call_window_src_added_cb (EmpathyCallHandler *handler,
GstPad *src, guint media_type, gpointer user_data)
{
@@ -2029,6 +2029,8 @@ empathy_call_window_src_added_cb (EmpathyCallHandler *handler,
gst_object_unref (pad);
g_mutex_unlock (priv->lock);
+
+ return TRUE;
}
/* Called from the streaming thread */