summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-22 20:36:54 +0100
committerwm4 <wm4@nowhere>2016-01-22 20:36:54 +0100
commitf176104ed5c7be37f4f0756b7244cbb90c4fe1fe (patch)
treeae109c2306ced588fafc0d7ec3a913710bab2869 /input
parent4c25f49236fc0aef29ba14b2905ea02edab6ec07 (diff)
downloadmpv-f176104ed5c7be37f4f0756b7244cbb90c4fe1fe.tar.bz2
mpv-f176104ed5c7be37f4f0756b7244cbb90c4fe1fe.tar.xz
command: add af-command command
Similar to vf-command. Requested. Untested.
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 a5fc342615..b5e29aab0e 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -180,6 +180,7 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_DROP_BUFFERS, "drop-buffers", },
{ MP_CMD_AF, "af", { ARG_STRING, ARG_STRING } },
+ { MP_CMD_AF_COMMAND, "af-command", { ARG_STRING, ARG_STRING, ARG_STRING } },
{ MP_CMD_AO_RELOAD, "ao-reload", },
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 876fe4fd71..4e324bf01c 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -92,6 +92,7 @@ enum mp_command_type {
/// Audio Filter commands
MP_CMD_AF,
+ MP_CMD_AF_COMMAND,
MP_CMD_AO_RELOAD,
/// Video filter commands