adaptivedemux2: Notify that we are streams-aware
authorEdward Hervey <edward@centricular.com>
Wed, 26 Oct 2022 05:04:32 +0000 (07:04 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 14:01:46 +0000 (14:01 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>

subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c

index b465ac3..09385d7 100644 (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);