mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
flvdemux: Set ACCEPT_TEMPLATE flag on sinkpad
A demuxer can accept any caps matching its sinkpad template caps Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/596>
This commit is contained in:
parent
37c1b1e13f
commit
9f5f906515
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue