mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user