projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e278ae
)
tee: Set GST_PAD_FLAG_PROXY_CAPS before forwarding sticky events
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 29 Mar 2016 07:38:05 +0000
(10:38 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 1 Nov 2016 18:53:43 +0000
(20:53 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=752213
plugins/elements/gsttee.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gsttee.c
b/plugins/elements/gsttee.c
index
361a15c
..
906775d
100644
(file)
--- 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;