summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-22 16:18:28 +0100
committerwm4 <wm4@nowhere>2016-01-22 16:18:28 +0100
commit135a7217b92c0b1c29ea40ab405566e72d23ae4b (patch)
tree491bfc975d15c4df6095a30720dd9bd404f73e70 /input
parentce0b26c60ff31166b4b4317d269c52fe7d576c5c (diff)
downloadmpv-135a7217b92c0b1c29ea40ab405566e72d23ae4b.tar.bz2
mpv-135a7217b92c0b1c29ea40ab405566e72d23ae4b.tar.xz
command: add vf-command command
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c1
-rw-r--r--input/cmd_list.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 2f3bfb994a..a5fc342615 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -183,6 +183,7 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_AO_RELOAD, "ao-reload", },
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
+ { MP_CMD_VF_COMMAND, "vf-command", { ARG_STRING, ARG_STRING, ARG_STRING } },
{ MP_CMD_VO_CMDLINE, "vo-cmdline", { ARG_STRING } },
diff --git a/input/cmd_list.h b/input/cmd_list.h
index c8c0dc3593..876fe4fd71 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -96,6 +96,7 @@ enum mp_command_type {
/// Video filter commands
MP_CMD_VF,
+ MP_CMD_VF_COMMAND,
/// Video output commands
MP_CMD_VO_CMDLINE,