aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-21 16:01:44 +0200
committerMax Kellermann <max@duempel.org>2015-06-21 16:06:02 +0200
commit90e7ace980fcfe4f894cd8e882fbfd2efba0b57d (patch)
treeb4810dd7c6fb09329e0e2c986aa2e0c6cae579fd /src/PlayerThread.cxx
parent2b0a127fa565c3e78d3a1e11f0fc68547dc5a161 (diff)
parentb0ff3bc7a30674fe44e946e228e8c2facd8e8377 (diff)
downloadmpd-90e7ace980fcfe4f894cd8e882fbfd2efba0b57d.tar.gz
mpd-90e7ace980fcfe4f894cd8e882fbfd2efba0b57d.tar.xz
mpd-90e7ace980fcfe4f894cd8e882fbfd2efba0b57d.zip
Merge tag 'v0.19.10'
Diffstat (limited to '')
-rw-r--r--src/PlayerThread.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index a320e81fb..a1fd24bbe 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -612,6 +612,12 @@ Player::ProcessCommand()
queued = true;
pc.CommandFinished();
+
+ pc.Unlock();
+ if (dc.LockIsIdle())
+ StartDecoder(*new MusicPipe());
+ pc.Lock();
+
break;
case PlayerCommand::PAUSE: