From 467c1e860a86bdc680edf29d72d8f8734b1d1e18 Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Tue, 7 May 2024 23:27:46 -0400 Subject: [PATCH] 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 0cfd52074b50df623f9fa9fd9ad0ba4657311398. --- audio/out/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/out/buffer.c b/audio/out/buffer.c index 089724f2f9..d64e74fa92 100644 --- a/audio/out/buffer.c +++ b/audio/out/buffer.c @@ -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;