mirror of https://github.com/mpv-player/mpv
Revert "ao: in ao_play_data, wakeup core for untimed AO as well"
This problem does not exist with --demuxer=lavf. --demuxer=mkv just never
signals EOF for the problematic sample, so it needs to be fixed there, not
in AO.
This reverts commit 0cfd52074b
.
This commit is contained in:
parent
0cfd52074b
commit
467c1e860a
|
@ -629,7 +629,7 @@ static bool ao_play_data(struct ao *ao)
|
|||
struct mp_pcm_state state;
|
||||
get_dev_state(ao, &state);
|
||||
|
||||
if (p->streaming && !state.playing)
|
||||
if (p->streaming && !state.playing && !ao->untimed)
|
||||
goto eof;
|
||||
|
||||
void **planes = NULL;
|
||||
|
|
Loading…
Reference in New Issue