From 75d3267b43093161f94db5199bd36f14c06b7457 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Feb 2014 02:33:47 +0100 Subject: client API: add a client message event This comes with a "script_message" input command, which sends these messages. Used by the following commits. --- input/cmd_list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input/cmd_list.c') diff --git a/input/cmd_list.c b/input/cmd_list.c index 05dcb72d25..f89195ad56 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -167,6 +167,8 @@ const struct mp_cmd_def mp_cmds[] = { { MP_CMD_VO_CMDLINE, "vo_cmdline", { ARG_STRING } }, { MP_CMD_SCRIPT_DISPATCH, "script_dispatch", { ARG_STRING, ARG_INT } }, + { MP_CMD_SCRIPT_MESSAGE, "script_message", { ARG_STRING, ARG_STRING }, + .vararg = true }, { MP_CMD_OVERLAY_ADD, "overlay_add", { ARG_INT, ARG_INT, ARG_INT, ARG_STRING, ARG_INT, ARG_STRING, ARG_INT, -- cgit v1.2.3