From 06301e279c047f5f6c27393edb88c3207c94a992 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 21 Jun 2015 15:38:48 +0200 Subject: PlayerThread: start the decoder on PlayerCommand::QUEUE Fixes missing SongBorder() call, which causes "single" mode breakage. --- src/PlayerThread.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/PlayerThread.cxx') diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index c5308e612..eeebcdb96 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: -- cgit v1.2.3