mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
video: also reset video-sync state when resetting video state
Fixes #13790
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user