summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-17 15:54:55 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:37 +0200
commitdbd5feedd5f88a69b47b3bdaf0086329805d3c56 (patch)
treee9a5749bc726e3819029ee124712076539a12aec /input
parent3452e2e907943dce4aeb4659f08bb2f966ea43ec (diff)
downloadmpv-dbd5feedd5f88a69b47b3bdaf0086329805d3c56.tar.bz2
mpv-dbd5feedd5f88a69b47b3bdaf0086329805d3c56.tar.xz
new slave command: af_cmdline, for changing audio filter options
Add experimental af_cmdline slave command to allow changing filter options at runtime. Patch by Adrian Stutz [adrian sttz ch] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32505 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index c366ca76e4..1e2a6e888e 100644
--- a/input/input.c
+++ b/input/input.c
@@ -215,6 +215,7 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_AF_ADD, "af_add", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ MP_CMD_AF_DEL, "af_del", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ MP_CMD_AF_CLR, "af_clr", 0, { {-1,{0}} } },
+ { MP_CMD_AF_CMDLINE, "af_cmdline", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ 0, NULL, 0, {} }
};
diff --git a/input/input.h b/input/input.h
index 7aa5af0f55..51d9f6522e 100644
--- a/input/input.h
+++ b/input/input.h
@@ -156,6 +156,7 @@ typedef enum {
MP_CMD_AF_ADD,
MP_CMD_AF_DEL,
MP_CMD_AF_CLR,
+ MP_CMD_AF_CMDLINE,
} mp_command_type;