player/Thread: wake up the main thread after failed seek

Fixes deadlock bug.  Closes #210
This commit is contained in:
Max Kellermann 2018-02-03 19:28:39 +01:00
parent ce2b6dc84d
commit 73ddbcc876

View File

@ -256,8 +256,12 @@ private:
bool SeekDecoder() noexcept;
void CancelPendingSeek() noexcept {
if (!pc.seeking)
return;
pending_seek = SongTime::zero();
pc.seeking = false;
pc.ClientSignal();
}
/**