aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/AsyncInputStream.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-17 03:18:52 +0200
committerMax Kellermann <max@duempel.org>2014-06-17 03:20:49 +0200
commit81283f8bcb4ef3ab7c05944c38e3a7f1184231dd (patch)
treed0a3222d70205232f6e7040e473f5ba1df1b027a /src/input/AsyncInputStream.cxx
parent8b84e5b3f975e4ad692b7cdcb1b7212b41f25cf1 (diff)
downloadmpd-81283f8bcb4ef3ab7c05944c38e3a7f1184231dd.tar.gz
mpd-81283f8bcb4ef3ab7c05944c38e3a7f1184231dd.tar.xz
mpd-81283f8bcb4ef3ab7c05944c38e3a7f1184231dd.zip
AsyncInputStream: reset "paused" when seeking
May cause assertion failure.
Diffstat (limited to '')
-rw-r--r--src/input/AsyncInputStream.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/AsyncInputStream.cxx b/src/input/AsyncInputStream.cxx
index f2e0320c4..43190f907 100644
--- a/src/input/AsyncInputStream.cxx
+++ b/src/input/AsyncInputStream.cxx
@@ -245,6 +245,7 @@ AsyncInputStream::RunDeferred()
if (seek_state == SeekState::SCHEDULED) {
seek_state = SeekState::PENDING;
buffer.Clear();
+ paused = false;
DoSeek(seek_offset);
}
}