summaryrefslogtreecommitdiffstats
path: root/core/input
diff options
context:
space:
mode:
Diffstat (limited to 'core/input')
-rw-r--r--core/input/input.c1
-rw-r--r--core/input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c
index 17ad7c3aeb..31b807d92f 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -128,6 +128,7 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_QUIT, "quit", { OARG_INT(0) } },
{ MP_CMD_STOP, "stop", },
{ MP_CMD_FRAME_STEP, "frame_step", },
+ { MP_CMD_FRAME_BACK_STEP, "frame_back_step", },
{ MP_CMD_PLAYLIST_NEXT, "playlist_next", {
OARG_CHOICE(0, ({"weak", 0}, {"0", 0},
{"force", 1}, {"1", 1})),
diff --git a/core/input/input.h b/core/input/input.h
index 30cc2ce9ed..ff79222c9b 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -44,6 +44,7 @@ enum mp_command_type {
MP_CMD_TV_SET_FREQ,
MP_CMD_TV_SET_NORM,
MP_CMD_FRAME_STEP,
+ MP_CMD_FRAME_BACK_STEP,
MP_CMD_SPEED_MULT,
MP_CMD_RUN,
MP_CMD_SUB_ADD,