diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-03-29 10:38:05 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-11-01 20:53:43 +0200 |
commit | 25bf63d6f74ea2abab974b4f82aa4492c21db827 (patch) | |
tree | 9f0754ce0bd8964b6536d5d598955db5b430b26e /plugins | |
parent | 2e278aeb7128e8732f5324ab8c8b22a47950c80a (diff) |
tee: Set GST_PAD_FLAG_PROXY_CAPS before forwarding sticky events
https://bugzilla.gnome.org/show_bug.cgi?id=752213
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elements/gsttee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index 361a15cf5..906775d2a 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -410,9 +410,9 @@ gst_tee_request_new_pad (GstElement * element, GstPadTemplate * templ, gst_pad_set_query_function (srcpad, GST_DEBUG_FUNCPTR (gst_tee_src_query)); gst_pad_set_getrange_function (srcpad, GST_DEBUG_FUNCPTR (gst_tee_src_get_range)); + GST_OBJECT_FLAG_SET (srcpad, GST_PAD_FLAG_PROXY_CAPS); /* Forward sticky events to the new srcpad */ gst_pad_sticky_events_foreach (tee->sinkpad, forward_sticky_events, srcpad); - GST_OBJECT_FLAG_SET (srcpad, GST_PAD_FLAG_PROXY_CAPS); gst_element_add_pad (GST_ELEMENT_CAST (tee), srcpad); return srcpad; |