adaptivedemux2: Notify that we are streams-aware

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
Edward Hervey 2022-10-26 07:04:32 +02:00 committed by GStreamer Marge Bot
parent d3c5fc815e
commit e68baffcd9

View file

@ -549,6 +549,7 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
demux->instant_rate_multiplier = 1.0;
GST_OBJECT_FLAG_SET (demux, GST_BIN_FLAG_STREAMS_AWARE);
gst_bin_set_suppressed_flags (GST_BIN_CAST (demux),
GST_ELEMENT_FLAG_SOURCE | GST_ELEMENT_FLAG_SINK);