From 0e78424842513b14867ebc82e628da7c4eac8580 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 20 May 2015 14:28:02 +0200 Subject: [PATCH] video: force audio resync after video discontinuity --- player/video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player/video.c b/player/video.c index 4c8af0f46a..4e89416db7 100644 --- a/player/video.c +++ b/player/video.c @@ -575,6 +575,7 @@ static void shift_new_frame(struct MPContext *mpctx) MP_WARN(mpctx, "Invalid video timestamp: %f -> %f\n", mpctx->video_pts, pts); frame_time = 0; + mpctx->audio_status = STATUS_SYNCING; } } mpctx->video_next_pts = pts;