mirror of https://github.com/mpv-player/mpv
video: also reset video-sync state when resetting video state
Fixes #13790
This commit is contained in:
parent
92cb47338f
commit
cb82ad73f2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue