From cb82ad73f22a0d6338a6385f46f86bc7f3787909 Mon Sep 17 00:00:00 2001 From: llyyr Date: Sat, 30 Mar 2024 05:45:23 +0530 Subject: [PATCH] video: also reset video-sync state when resetting video state Fixes #13790 --- player/video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player/video.c b/player/video.c index 777460dcea..f0372b69a5 100644 --- a/player/video.c +++ b/player/video.c @@ -120,6 +120,7 @@ void reset_video_state(struct MPContext *mpctx) mpctx->drop_message_shown = 0; mpctx->display_sync_drift_dir = 0; mpctx->display_sync_error = 0; + mpctx->display_sync_active = 0; mpctx->video_status = mpctx->vo_chain ? STATUS_SYNCING : STATUS_EOF; }