mirror of https://github.com/mpv-player/mpv
audio: simplify condition
The expression added with the previous commit (0cce8fe6
) looked slightly
more complicated than it has to be. The code is equivalent.
This commit is contained in:
parent
0cce8fe64f
commit
4cf3f3ca2c
|
@ -385,7 +385,7 @@ void fill_audio_out_buffers(struct MPContext *mpctx, double endpts)
|
|||
|
||||
// If audio is infinitely fast, somehow try keeping approximate A/V sync.
|
||||
if (mpctx->audio_status == STATUS_PLAYING && ao_untimed(mpctx->ao) &&
|
||||
!(mpctx->video_status == STATUS_EOF || mpctx->delay <= 0))
|
||||
mpctx->video_status != STATUS_EOF && mpctx->delay > 0)
|
||||
return;
|
||||
|
||||
// if paused, just initialize things (audio format & pts)
|
||||
|
|
Loading…
Reference in New Issue