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

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: