summaryrefslogtreecommitdiffstats
path: root/mpvcore/input/input.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-31 23:23:38 +0100
committerwm4 <wm4@nowhere>2013-10-31 23:30:14 +0100
commit71ded03123a704ddcbf018dcb0ec633475ccb04a (patch)
treebddcea247a2e2396fbf414168b25aac2a57316d7 /mpvcore/input/input.c
parent94542abf2e2ccb123cf3b0c9eef76a2290dd19b1 (diff)
downloadmpv-71ded03123a704ddcbf018dcb0ec633475ccb04a.tar.bz2
mpv-71ded03123a704ddcbf018dcb0ec633475ccb04a.tar.xz
command: add generic "multiply" command
Essentially works like "add".
Diffstat (limited to 'mpvcore/input/input.c')
-rw-r--r--mpvcore/input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c
index 5b74f1aa33..aaa9cc14df 100644
--- a/mpvcore/input/input.c
+++ b/mpvcore/input/input.c
@@ -216,6 +216,7 @@ static const mp_cmd_t mp_cmds[] = {
.optional = true,
.v.d = 1 },
}},
+ { MP_CMD_MULTIPLY, "multiply", { ARG_STRING, ARG_DOUBLE } },
{ MP_CMD_ENABLE_INPUT_SECTION, "enable_section", {
ARG_STRING,