player/Thread: add missing lock for StartDecoder()
Regression from commit 0772e571b7
This commit is contained in:
parent
3b2b5edd26
commit
8fca04f140
@ -1042,6 +1042,7 @@ Player::Run() noexcept
|
||||
|
||||
assert(dc.pipe == nullptr || dc.pipe == pipe);
|
||||
|
||||
const std::lock_guard<Mutex> lock(pc.mutex);
|
||||
StartDecoder(*new MusicPipe());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user