mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
demux: adaptive: reset all status on new position
This commit is contained in:
parent
b8b52a006c
commit
4d784f69f9
@ -142,6 +142,10 @@ bool AbstractStream::resetForNewPosition(vlc_tick_t seekMediaTime)
|
||||
eof = false;
|
||||
demuxfirstchunk = true;
|
||||
notfound_sequence = 0;
|
||||
last_buffer_status = BufferingStatus::Lessthanmin;
|
||||
inrestart = false;
|
||||
needrestart = false;
|
||||
discontinuity = false;
|
||||
if(!demuxer || demuxer->needsRestartOnSeek()) /* needs (re)start */
|
||||
{
|
||||
delete currentChunk;
|
||||
|
Loading…
Reference in New Issue
Block a user