adaptivedemux2: Notify that we are streams-aware
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
d3c5fc815e
commit
e68baffcd9
@ -549,6 +549,7 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
|
|||||||
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
|
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
|
||||||
demux->instant_rate_multiplier = 1.0;
|
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_bin_set_suppressed_flags (GST_BIN_CAST (demux),
|
||||||
GST_ELEMENT_FLAG_SOURCE | GST_ELEMENT_FLAG_SINK);
|
GST_ELEMENT_FLAG_SOURCE | GST_ELEMENT_FLAG_SINK);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user