diff options
author | wm4 <wm4@nowhere> | 2020-09-01 21:26:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-09-01 21:28:13 +0200 |
commit | 50c998afabb99e1956a32e0a6b08356b4dd0d042 (patch) | |
tree | 7cc9edf9ccdb7467782a6eab35bfca62d4152c44 | |
parent | 99cd22af01be30db7462ab781c768dae7ddb2174 (diff) | |
download | mpv-50c998afabb99e1956a32e0a6b08356b4dd0d042.tar.bz2 mpv-50c998afabb99e1956a32e0a6b08356b4dd0d042.tar.xz |
audio: do not wake up player when waiting for audio state and paused
Bullshit.
-rw-r--r-- | player/audio.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |