0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

player: reset last_frame_duration on init

This commit is contained in:
wm4 2014-05-07 21:38:46 +02:00
parent ca343d82a6
commit 6a8a0e3aa9

View File

@ -1295,6 +1295,7 @@ goto_reopen_demuxer: ;
mpctx->restart_playback = true;
mpctx->video_pts = 0;
mpctx->last_vo_pts = MP_NOPTS_VALUE;
mpctx->last_frame_duration = 0;
mpctx->last_seek_pts = 0;
mpctx->playback_pts = MP_NOPTS_VALUE;
mpctx->hrseek_active = false;