AsyncInputStream: reset "paused" when seeking

May cause assertion failure.
This commit is contained in:
Max Kellermann 2014-06-17 03:18:52 +02:00
parent 8b84e5b3f9
commit 81283f8bcb
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }
} }