mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
video: force audio resync after video discontinuity
This commit is contained in:
parent
3e0dae6959
commit
0e78424842
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user