mirror of
https://github.com/mpv-player/mpv
synced 2024-09-28 17:52:52 +02:00
audio/out: fix active waiting during pause again
This was fixed in commit8432eaefa
, and commit39609fc1
of course broke it again. This was pretty stupid.
This commit is contained in:
parent
a1d3afb395
commit
94113e632f
@ -120,8 +120,9 @@ static void reset(struct ao *ao)
|
||||
ao->driver->reset(ao);
|
||||
mp_audio_buffer_clear(p->buffer);
|
||||
p->paused = false;
|
||||
if (p->still_playing)
|
||||
wakeup_playthread(ao);
|
||||
p->still_playing = false;
|
||||
wakeup_playthread(ao);
|
||||
pthread_mutex_unlock(&p->lock);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user