mirror of https://github.com/mpv-player/mpv
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:
parent
075154175d
commit
fb5d976cb0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue