mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
adaptivedemux: fix multi-period playback
If we say it is the first segment after a new period it will resync the segment.start value and all buffers will be late for the new period we are trying to play. Otherwise we want to keep the segment.start with the previous value to allow the running time to smoothly increase
This commit is contained in:
parent
cd3930969a
commit
9336077057
1 changed files with 1 additions and 1 deletions
|
@ -2387,7 +2387,7 @@ gst_adaptive_demux_advance_period (GstAdaptiveDemux * demux)
|
|||
|
||||
GST_DEBUG_OBJECT (demux, "Advancing to next period");
|
||||
klass->advance_period (demux);
|
||||
gst_adaptive_demux_expose_streams (demux, TRUE);
|
||||
gst_adaptive_demux_expose_streams (demux, FALSE);
|
||||
gst_adaptive_demux_start_tasks (demux);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue