mirror of https://github.com/mpv-player/mpv
audio: do not wake up player when waiting for audio state and paused
Bullshit.
This commit is contained in:
parent
99cd22af01
commit
50c998afab
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue