summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-17 02:52:26 +0100
committerwm4 <wm4@nowhere>2014-02-17 02:52:59 +0100
commit5fcf4b46f7e1eea43a2e675a6be3fa99c2dd4dd6 (patch)
treee46f60111fa1655b6c9b394330050eaa84d2b9ab /player/client.c
parentb3b59b9a2d51d57656eda965d02762131b0bd5b7 (diff)
downloadmpv-5fcf4b46f7e1eea43a2e675a6be3fa99c2dd4dd6.tar.bz2
mpv-5fcf4b46f7e1eea43a2e675a6be3fa99c2dd4dd6.tar.xz
client API: add events for video and audio reconfig
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c
index 79f8f91324..f63611f79c 100644
--- a/player/client.c
+++ b/player/client.c
@@ -842,6 +842,8 @@ static const char *event_table[] = {
[MPV_EVENT_TICK] = "tick",
[MPV_EVENT_SCRIPT_INPUT_DISPATCH] = "script-input-dispatch",
[MPV_EVENT_CLIENT_MESSAGE] = "client-message",
+ [MPV_EVENT_VIDEO_RECONFIG] = "video-reconfig",
+ [MPV_EVENT_AUDIO_RECONFIG] = "audio-reconfig",
};
const char *mpv_event_name(mpv_event_id event)