PlayerThread: start the decoder on PlayerCommand::QUEUE

Fixes missing SongBorder() call, which causes "single" mode breakage.
This commit is contained in:
Max Kellermann 2015-06-21 15:38:48 +02:00
parent 6d6f274648
commit 06301e279c
2 changed files with 7 additions and 0 deletions

1
NEWS
View File

@ -11,6 +11,7 @@ ver 0.19.10 (not yet released)
- fix failure to open device right after booting
* neighbor
- nfs: fix deadlock when connecting
* fix "single" mode breakage due to queue edits
ver 0.19.9 (2015/02/06)
* decoder

View File

@ -612,6 +612,12 @@ Player::ProcessCommand()
queued = true;
pc.CommandFinished();
pc.Unlock();
if (dc.LockIsIdle())
StartDecoder(*new MusicPipe());
pc.Lock();
break;
case PlayerCommand::PAUSE: