AsyncInputStream: reset "paused" when seeking
May cause assertion failure.
This commit is contained in:
parent
8b84e5b3f9
commit
81283f8bcb
|
@ -245,6 +245,7 @@ AsyncInputStream::RunDeferred()
|
||||||
if (seek_state == SeekState::SCHEDULED) {
|
if (seek_state == SeekState::SCHEDULED) {
|
||||||
seek_state = SeekState::PENDING;
|
seek_state = SeekState::PENDING;
|
||||||
buffer.Clear();
|
buffer.Clear();
|
||||||
|
paused = false;
|
||||||
DoSeek(seek_offset);
|
DoSeek(seek_offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue