summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-15 02:20:25 +0200
committerwm4 <wm4@nowhere>2012-10-12 10:10:30 +0200
commita59eee489318d406497eb5fb8a95d7e23d5eee1f (patch)
treeae8a59a341aad3e97303dec6e3dc7ff593032532 /input
parenta749c614375107a09e5877f6bb654133c7947672 (diff)
downloadmpv-a59eee489318d406497eb5fb8a95d7e23d5eee1f.tar.bz2
mpv-a59eee489318d406497eb5fb8a95d7e23d5eee1f.tar.xz
commands: remove third parameter for "switch"
This could change the direction (i.e. invoke STEP_PROPERTY_DOWN), but you can just pass a negative value as second argument instead.
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c
index abaa6fd7bd..10747b0891 100644
--- a/input/input.c
+++ b/input/input.c
@@ -136,7 +136,7 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_KEYDOWN_EVENTS, "key_down_event", { ARG_INT } },
{ MP_CMD_SET, "set", { ARG_STRING, ARG_STRING } },
{ MP_CMD_GET_PROPERTY, "get_property", { ARG_STRING } },
- { MP_CMD_SWITCH, "switch", { ARG_STRING, OARG_FLOAT(0), OARG_INT(0) } },
+ { MP_CMD_SWITCH, "switch", { ARG_STRING, OARG_FLOAT(0) } },
{ MP_CMD_SET_MOUSE_POS, "set_mouse_pos", { ARG_INT, ARG_INT } },