player/Thread: remove unnecessary StartDecoder() call
Let Run() do this in the next loop iteration.
This commit is contained in:
parent
7236f83999
commit
57212d5a35
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user