From 50c998afabb99e1956a32e0a6b08356b4dd0d042 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 1 Sep 2020 21:26:19 +0200 Subject: audio: do not wake up player when waiting for audio state and paused Bullshit. --- player/audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/player/audio.c b/player/audio.c index 9c203ee1e5..a1e7903be6 100644 --- a/player/audio.c +++ b/player/audio.c @@ -794,7 +794,8 @@ static void check_audio_start(struct MPContext *mpctx, bool force) mpctx->video_status != STATUS_EOF) { double diff = (apts - pts) / mpctx->opts->playback_speed; - mp_set_timeout(mpctx, diff); + if (!get_internal_paused(mpctx)) + mp_set_timeout(mpctx, diff); MP_VERBOSE(mpctx, "delaying audio start %f vs. %f, diff=%f\n", apts, pts, diff); return; -- cgit v1.2.3