diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-09-20 16:54:32 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-09-21 13:59:54 +0200 |
commit | 70be630427c47c3e9cfe1d98b5e9487fd76444ac (patch) | |
tree | 0139b8a13e8b74ac8a4536db173433641267eaa2 /ext/kate | |
parent | 43ec4f46b8b4ebdc5aae2aef0667db5c188621d0 (diff) | |
download | gstreamer-plugins-bad-70be630427c47c3e9cfe1d98b5e9487fd76444ac.tar.gz |
kate: forward return code from setting src pad caps
https://bugzilla.gnome.org/show_bug.cgi?id=659606
Diffstat (limited to 'ext/kate')
-rw-r--r-- | ext/kate/gstkatetiger.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/kate/gstkatetiger.c b/ext/kate/gstkatetiger.c index 2916460c8..41da4db15 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 |