diff options
author | llyyr <llyyr@yukari.in> | 2024-03-30 05:45:23 +0530 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-03-30 09:46:48 +0100 |
commit | cb82ad73f22a0d6338a6385f46f86bc7f3787909 (patch) | |
tree | 2660c956c99639faceae9126aec69ee9cca4dde2 /player | |
parent | 92cb47338fa226345000f2e48561befd3879017e (diff) | |
download | mpv-cb82ad73f22a0d6338a6385f46f86bc7f3787909.tar.bz2 mpv-cb82ad73f22a0d6338a6385f46f86bc7f3787909.tar.xz |
video: also reset video-sync state when resetting video state
Fixes #13790
Diffstat (limited to 'player')
-rw-r--r-- | player/video.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |