player/Thread: remove unnecessary StartDecoder() call

Let Run() do this in the next loop iteration.
This commit is contained in:
Max Kellermann 2024-04-15 21:47:48 +02:00
parent 7236f83999
commit 57212d5a35

View File

@ -784,11 +784,6 @@ Player::ProcessCommand(std::unique_lock<Mutex> &lock) noexcept
queued = true;
pc.CommandFinished();
if (!decoder_starting && dc.IsIdle())
StartDecoder(lock, std::make_shared<MusicPipe>(),
false);
break;
case PlayerCommand::PAUSE: