decoder/Control: caller must lock mutex for Seek()
This commit is contained in:
@@ -628,6 +628,7 @@ Player::SeekDecoder() noexcept
|
||||
try {
|
||||
const PlayerControl::ScopeOccupied occupied(pc);
|
||||
|
||||
const std::lock_guard<Mutex> lock(pc.mutex);
|
||||
dc.Seek(where + start_time);
|
||||
} catch (...) {
|
||||
/* decoder failure */
|
||||
|
Reference in New Issue
Block a user