From 70be630427c47c3e9cfe1d98b5e9487fd76444ac Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 20 Sep 2011 16:54:32 +0100 Subject: [PATCH] kate: forward return code from setting src pad caps https://bugzilla.gnome.org/show_bug.cgi?id=659606 --- ext/kate/gstkatetiger.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/kate/gstkatetiger.c b/ext/kate/gstkatetiger.c index 2916460c8b..41da4db151 100644 --- a/ext/kate/gstkatetiger.c +++ b/ext/kate/gstkatetiger.c @@ -677,6 +677,7 @@ gst_kate_tiger_video_set_caps (GstPad * pad, GstCaps * caps) GstKateTiger *tiger = GST_KATE_TIGER (gst_pad_get_parent (pad)); GstVideoFormat format; gint w, h; + gboolean ret; GST_KATE_TIGER_MUTEX_LOCK (tiger); @@ -692,10 +693,10 @@ gst_kate_tiger_video_set_caps (GstPad * pad, GstCaps * caps) GST_KATE_TIGER_MUTEX_UNLOCK (tiger); - gst_pad_set_caps (tiger->srcpad, caps); + ret = gst_pad_set_caps (tiger->srcpad, caps); gst_object_unref (tiger); - return TRUE; + return ret; } static gdouble