kate: forward return code from setting src pad caps

https://bugzilla.gnome.org/show_bug.cgi?id=659606
This commit is contained in:
Vincent Penquerc'h 2011-09-20 16:54:32 +01:00 committed by Sebastian Dröge
parent 43ec4f46b8
commit 70be630427

View file

@ -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