mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:28:32 +00:00
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
1 changed files with 3 additions and 2 deletions
|
@ -677,6 +677,7 @@ gst_kate_tiger_video_set_caps (GstPad * pad, GstCaps * caps)
|
||||||
GstKateTiger *tiger = GST_KATE_TIGER (gst_pad_get_parent (pad));
|
GstKateTiger *tiger = GST_KATE_TIGER (gst_pad_get_parent (pad));
|
||||||
GstVideoFormat format;
|
GstVideoFormat format;
|
||||||
gint w, h;
|
gint w, h;
|
||||||
|
gboolean ret;
|
||||||
|
|
||||||
GST_KATE_TIGER_MUTEX_LOCK (tiger);
|
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_KATE_TIGER_MUTEX_UNLOCK (tiger);
|
||||||
|
|
||||||
gst_pad_set_caps (tiger->srcpad, caps);
|
ret = gst_pad_set_caps (tiger->srcpad, caps);
|
||||||
|
|
||||||
gst_object_unref (tiger);
|
gst_object_unref (tiger);
|
||||||
return TRUE;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gdouble
|
static gdouble
|
||||||
|
|
Loading…
Reference in a new issue