summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-13 01:10:58 +0200
committerwm4 <wm4@nowhere>2014-09-13 01:14:07 +0200
commitb0a3d38b4c30001c1f42948cf6fd4ef761f8d665 (patch)
tree24a7255d403f02dc094f4e9277230bd2222d3100
parenta3b393d68cc877387abfc7081acf39c05eca0eca (diff)
downloadmpv-b0a3d38b4c30001c1f42948cf6fd4ef761f8d665.tar.bz2
mpv-b0a3d38b4c30001c1f42948cf6fd4ef761f8d665.tar.xz
input: don't autorepeat cycle_values command
Not sure why this was originally added as autorepeated. It makes no sense, because switching between choices should never autorepeat. (For the normal "add"/"cycle" commands, autorepeat is usually enabled, but command.c tries to disable it specifically for choice properties.)
-rw-r--r--input/cmd_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 6f763c4b64..96e9d91f16 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -141,7 +141,7 @@ const struct mp_cmd_def mp_cmds[] = {
.allow_auto_repeat = true},
{ MP_CMD_CYCLE_VALUES, "cycle_values", { ARG_STRING, ARG_STRING, ARG_STRING },
- .vararg = true, .allow_auto_repeat = true},
+ .vararg = true},
{ MP_CMD_ENABLE_INPUT_SECTION, "enable_section", {
ARG_STRING,