diff options
-rw-r--r-- | player/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c index ab4e50b1b9..92c4bbae19 100644 --- a/player/audio.c +++ b/player/audio.c @@ -568,7 +568,7 @@ void fill_audio_out_buffers(struct MPContext *mpctx, double endpts) mpctx->audio_status = STATUS_FILLING; if (status != AD_OK && !mp_audio_buffer_samples(mpctx->ao_buffer)) mpctx->audio_status = STATUS_EOF; - if (working) + if (working || end_sync) mpctx->sleeptime = 0; return; // continue on next iteration } |