Commit 06301e27 authored by Max Kellermann's avatar Max Kellermann

PlayerThread: start the decoder on PlayerCommand::QUEUE

Fixes missing SongBorder() call, which causes "single" mode breakage.
parent 6d6f2746
...@@ -11,6 +11,7 @@ ver 0.19.10 (not yet released) ...@@ -11,6 +11,7 @@ ver 0.19.10 (not yet released)
- fix failure to open device right after booting - fix failure to open device right after booting
* neighbor * neighbor
- nfs: fix deadlock when connecting - nfs: fix deadlock when connecting
* fix "single" mode breakage due to queue edits
ver 0.19.9 (2015/02/06) ver 0.19.9 (2015/02/06)
* decoder * decoder
......
...@@ -612,6 +612,12 @@ Player::ProcessCommand() ...@@ -612,6 +612,12 @@ Player::ProcessCommand()
queued = true; queued = true;
pc.CommandFinished(); pc.CommandFinished();
pc.Unlock();
if (dc.LockIsIdle())
StartDecoder(*new MusicPipe());
pc.Lock();
break; break;
case PlayerCommand::PAUSE: case PlayerCommand::PAUSE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment