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:
37c1b1e
)
flvdemux: Set ACCEPT_TEMPLATE flag on sinkpad
author
Edward Hervey
<edward@centricular.com>
Wed, 20 May 2020 08:44:19 +0000
(10:44 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 20 May 2020 08:48:06 +0000
(10:48 +0200)
A demuxer can accept any caps matching its sinkpad template caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/596>
gst/flv/gstflvdemux.c
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvdemux.c
b/gst/flv/gstflvdemux.c
index 5ae117fa350d9d9f1b6eb5c0424c8e8f718b41cf..7cfe63fd60d3b58e788b3a6e0ac1b33a5018a0ba 100644
(file)
--- a/
gst/flv/gstflvdemux.c
+++ b/
gst/flv/gstflvdemux.c
@@
-3645,7
+3645,7
@@
gst_flv_demux_init (GstFlvDemux * demux)
{
demux->sinkpad =
gst_pad_new_from_static_template (&flv_sink_template, "sink");
-
+ GST_PAD_SET_ACCEPT_TEMPLATE (demux->sinkpad);
gst_pad_set_event_function (demux->sinkpad,
GST_DEBUG_FUNCPTR (gst_flv_demux_sink_event));
gst_pad_set_chain_function (demux->sinkpad,