kate: forward return code from setting src pad caps
https://bugzilla.gnome.org/show_bug.cgi?id=659606
This commit is contained in:
parent
43ec4f46b8
commit
70be630427
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user