summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 678ee6986d..5d60088f7d 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -154,6 +154,7 @@ void reset_playback_state(struct MPContext *mpctx)
mpctx->playback_pts = MP_NOPTS_VALUE;
mpctx->last_seek_pts = MP_NOPTS_VALUE;
mpctx->cache_wait_time = 0;
+ mpctx->step_frames = 0;
mpctx->restart_complete = false;
#if HAVE_ENCODING