diff options
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/command.c b/core/command.c index 6b00c9136f..11d987819d 100644 --- a/core/command.c +++ b/core/command.c @@ -1832,7 +1832,11 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) } case MP_CMD_FRAME_STEP: - add_step_frame(mpctx); + add_step_frame(mpctx, 1); + break; + + case MP_CMD_FRAME_BACK_STEP: + add_step_frame(mpctx, -1); break; case MP_CMD_QUIT: |