diff options
-rw-r--r-- | player/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c index 23c49f7ae3..21101f501a 100644 --- a/player/video.c +++ b/player/video.c @@ -776,7 +776,8 @@ void write_video(struct MPContext *mpctx, double endpts) if (!mpctx->sync_audio_to_video || mpctx->video_status < STATUS_READY) { mpctx->time_frame = 0; } else if (mpctx->audio_status == STATUS_PLAYING && - mpctx->video_status == STATUS_PLAYING) + mpctx->video_status == STATUS_PLAYING && + !ao_untimed(mpctx->ao)) { double buffered_audio = ao_get_delay(mpctx->ao); MP_TRACE(mpctx, "audio delay=%f\n", buffered_audio); |