video: force audio resync after video discontinuity

This commit is contained in:
wm4
2015-05-20 14:28:02 +02:00
parent 3e0dae6959
commit 0e78424842
+1
View File
@@ -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;