diff options
Diffstat (limited to 'mpvcore/input')
-rw-r--r-- | mpvcore/input/input.c | 5 | ||||
-rw-r--r-- | mpvcore/input/input.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c index 5d096fcd58..3e0313976a 100644 --- a/mpvcore/input/input.c +++ b/mpvcore/input/input.c @@ -228,7 +228,10 @@ static const struct mp_cmd_def mp_cmds[] = { .allow_auto_repeat = true }, { MP_CMD_MULTIPLY, "multiply", { ARG_STRING, ARG_DOUBLE }, - .allow_auto_repeat = true}, + .allow_auto_repeat = true}, + + { MP_CMD_CYCLE_VALUES, "cycle_values", { ARG_STRING, ARG_STRING, ARG_STRING }, + .vararg = true, .allow_auto_repeat = true}, { MP_CMD_ENABLE_INPUT_SECTION, "enable_section", { ARG_STRING, diff --git a/mpvcore/input/input.h b/mpvcore/input/input.h index a7ddaa7db1..27db11705e 100644 --- a/mpvcore/input/input.h +++ b/mpvcore/input/input.h @@ -65,6 +65,7 @@ enum mp_command_type { MP_CMD_ADD, MP_CMD_CYCLE, MP_CMD_MULTIPLY, + MP_CMD_CYCLE_VALUES, MP_CMD_RADIO_STEP_FREQ, MP_CMD_TV_STEP_FREQ, MP_CMD_TV_START_SCAN, |