diff options
author | sfan5 <sfan5@live.de> | 2021-07-16 20:58:54 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-07-16 20:58:54 +0200 |
commit | fb5d976cb070020e35501685c9f84b9435b248e6 (patch) | |
tree | 52a2166c56a44bb1a0beefa9c8f6c6679f61ae09 /audio/out | |
parent | 075154175d5a4c1516df2e4bde34ffc90c31cc0a (diff) | |
download | mpv-fb5d976cb070020e35501685c9f84b9435b248e6.tar.bz2 mpv-fb5d976cb070020e35501685c9f84b9435b248e6.tar.xz |
audio: fix ao_reset() not clearing paused state leading to stuck AO
This would happen when switching from playback stuck in cache wait
(underrun) to another file.
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/buffer.c b/audio/out/buffer.c index 9ac410ff9e..2a169e8fd7 100644 --- a/audio/out/buffer.c +++ b/audio/out/buffer.c @@ -307,6 +307,7 @@ void ao_reset(struct ao *ao) } wakeup = p->playing; p->playing = false; + p->paused = false; p->recover_pause = false; p->hw_paused = false; p->end_time_us = 0; |