audio: do not wake up player when waiting for audio state and paused

Bullshit.
This commit is contained in:
wm4 2020-09-01 21:26:19 +02:00
parent 99cd22af01
commit 50c998afab
1 changed files with 2 additions and 1 deletions

View File

@ -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;