diff input/input.c @ 32419:8f35fc25523f

Add experimental af_cmdline slave command to allow changing filter options at runtime. Patch by Adrian Stutz [adrian sttz ch]
author reimar
date Sun, 17 Oct 2010 15:54:55 +0000
parents d87b0b03f56e
children faefba58f413
line wrap: on
line diff
--- a/input/input.c	Sun Oct 17 15:52:18 2010 +0000
+++ b/input/input.c	Sun Oct 17 15:54:55 2010 +0000
@@ -205,6 +205,7 @@
   { 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, {} }
 };