mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
Make the demuxer reusable in READY->PLAYING->READY->PLAYING cycles by
flushing adapters correctly.
This commit is contained in:
parent
e8efc4d020
commit
8ad4f28d67
1 changed files with 1 additions and 0 deletions
|
@ -2728,6 +2728,7 @@ gst_flups_demux_change_state (GstElement * element, GstStateChange transition)
|
|||
gst_flups_demux_reset_psm (demux);
|
||||
gst_segment_init (&demux->sink_segment, GST_FORMAT_UNDEFINED);
|
||||
gst_segment_init (&demux->src_segment, GST_FORMAT_TIME);
|
||||
gst_flups_demux_flush (demux);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue