diff options
author | wm4 <wm4@nowhere> | 2014-05-07 21:38:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-07 21:38:46 +0200 |
commit | 6a8a0e3aa9055ca1395a672291c9a5abe077dc6e (patch) | |
tree | 13cd9039934d34a0820986b614d104b880305f0c | |
parent | ca343d82a6a1deffb09caf9974769c5b27130d0d (diff) | |
download | mpv-6a8a0e3aa9055ca1395a672291c9a5abe077dc6e.tar.bz2 mpv-6a8a0e3aa9055ca1395a672291c9a5abe077dc6e.tar.xz |
player: reset last_frame_duration on init
-rw-r--r-- | player/loadfile.c | 1 |
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; |