summaryrefslogtreecommitdiff
path: root/src/player/Thread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/player/Thread.cxx')
-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 7d81011f6..028842b61 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -996,7 +996,7 @@ Player::Run() noexcept
}
}
- if (dc.IsIdle() && queued) {
+ if (dc.IsIdle() && queued && IsDecoderAtCurrentSong()) {
/* the decoder has finished the current song;
make it decode the next song */