summaryrefslogtreecommitdiff
path: root/src/player
diff options
context:
space:
mode:
Diffstat (limited to 'src/player')
-rw-r--r--src/player/Thread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index 14f8aa08e..008b03c11 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -944,7 +944,7 @@ Player::Run() noexcept
prevent stuttering on slow machines */
if (pipe->GetSize() < pc.buffered_before_play &&
- !dc.IsIdle()) {
+ !dc.IsIdle() && !buffer.IsFull()) {
/* not enough decoded buffer space yet */
dc.WaitForDecoder();