From 9f5f90651597e6fa6d04db415374f1b0d278ae5e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 20 May 2020 10:44:19 +0200 Subject: [PATCH] flvdemux: Set ACCEPT_TEMPLATE flag on sinkpad A demuxer can accept any caps matching its sinkpad template caps Part-of: --- gst/flv/gstflvdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index 5ae117fa35..7cfe63fd60 100644 --- 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, -- 2.34.1