diff options
author | wm4 <wm4@nowhere> | 2014-02-17 02:33:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-17 02:52:58 +0100 |
commit | 75d3267b43093161f94db5199bd36f14c06b7457 (patch) | |
tree | 868d2b2c23da83921c6c1546b9d66de71e3d3a35 /player/client.c | |
parent | fe586dbbdb129e00be6c2b5e6739341dc019ab1c (diff) | |
download | mpv-75d3267b43093161f94db5199bd36f14c06b7457.tar.bz2 mpv-75d3267b43093161f94db5199bd36f14c06b7457.tar.xz |
client API: add a client message event
This comes with a "script_message" input command, which sends these
messages. Used by the following commits.
Diffstat (limited to 'player/client.c')
-rw-r--r-- | player/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c index 937d5bad84..79f8f91324 100644 --- a/player/client.c +++ b/player/client.c @@ -841,6 +841,7 @@ static const char *event_table[] = { [MPV_EVENT_UNPAUSE] = "unpause", [MPV_EVENT_TICK] = "tick", [MPV_EVENT_SCRIPT_INPUT_DISPATCH] = "script-input-dispatch", + [MPV_EVENT_CLIENT_MESSAGE] = "client-message", }; const char *mpv_event_name(mpv_event_id event) |