summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-07 21:38:46 +0200
committerwm4 <wm4@nowhere>2014-05-07 21:38:46 +0200
commit6a8a0e3aa9055ca1395a672291c9a5abe077dc6e (patch)
tree13cd9039934d34a0820986b614d104b880305f0c /player/loadfile.c
parentca343d82a6a1deffb09caf9974769c5b27130d0d (diff)
downloadmpv-6a8a0e3aa9055ca1395a672291c9a5abe077dc6e.tar.bz2
mpv-6a8a0e3aa9055ca1395a672291c9a5abe077dc6e.tar.xz
player: reset last_frame_duration on init
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c1
1 files changed, 1 insertions, 0 deletions
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;