From 57212d5a35a588ec29ed3c2c642598c6541542df Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Apr 2024 21:47:48 +0200 Subject: [PATCH] player/Thread: remove unnecessary StartDecoder() call Let Run() do this in the next loop iteration. --- src/player/Thread.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx index 91f2810ea..297920524 100644 --- a/src/player/Thread.cxx +++ b/src/player/Thread.cxx @@ -784,11 +784,6 @@ Player::ProcessCommand(std::unique_lock &lock) noexcept queued = true; pc.CommandFinished(); - - if (!decoder_starting && dc.IsIdle()) - StartDecoder(lock, std::make_shared(), - false); - break; case PlayerCommand::PAUSE: