diff options
author | wm4 <wm4@nowhere> | 2013-11-30 00:18:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-30 01:08:23 +0100 |
commit | f388f14c01eeec551a3cdd705c9fa680048cb758 (patch) | |
tree | 44df7f883194a703dea3c3274a15166456795eb7 /mpvcore/input/input.c | |
parent | e61e6e6fd9676ce3ff3971851755cdb7cf63dbf1 (diff) | |
download | mpv-f388f14c01eeec551a3cdd705c9fa680048cb758.tar.bz2 mpv-f388f14c01eeec551a3cdd705c9fa680048cb758.tar.xz |
command: add a cycle_values input command
Diffstat (limited to 'mpvcore/input/input.c')
-rw-r--r-- | mpvcore/input/input.c | 5 |
1 files changed, 4 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, |