From dbd5feedd5f88a69b47b3bdaf0086329805d3c56 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 17 Oct 2010 15:54:55 +0000 Subject: 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 --- input/input.c | 1 + input/input.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') 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; -- cgit v1.2.3