From 6a8a0e3aa9055ca1395a672291c9a5abe077dc6e Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 7 May 2014 21:38:46 +0200 Subject: player: reset last_frame_duration on init --- player/loadfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player') diff --git a/player/loadfile.c b/player/loadfile.c index e460c0ac69..723837baa8 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -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; -- cgit v1.2.3