Commit 5e20b797 authored by Max Kellermann's avatar Max Kellermann

DecoderControl: lock the mutex in Seek()

Use LockSynchronousCommand() instead of SynchronousCommandLocked(). Fixes regression from commit ef663810 (dead lock due to cond_wait with unlocked mutex).
parent 36f712b9
......@@ -119,7 +119,7 @@ decoder_control::Seek(double where)
seek_where = where;
seek_error = false;
SynchronousCommandLocked(DecoderCommand::SEEK);
LockSynchronousCommand(DecoderCommand::SEEK);
return !seek_error;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment