summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-27 22:28:07 +0200
committerwm4 <wm4@nowhere>2014-04-27 22:28:07 +0200
commite8a996cedef347f9a4cee1172db39e7f0eea821f (patch)
tree6e764a5fe26b62e2af6ce6fc62a39d828ec9f713 /player/command.c
parentb20416abe3f7e15d27a9828c12171e65f6e62d9c (diff)
downloadmpv-e8a996cedef347f9a4cee1172db39e7f0eea821f.tar.bz2
mpv-e8a996cedef347f9a4cee1172db39e7f0eea821f.tar.xz
client API: add chapter change event
Also works for mpv_observe_property() on the "chapter" property.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index fd08c667c8..d938e48162 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2443,6 +2443,7 @@ const char **mp_event_property_change[] = {
E(MPV_EVENT_AUDIO_RECONFIG, "audio-format", "audio-codec", "audio-bitrate",
"samplerate", "channels", "audio"),
E(MPV_EVENT_METADATA_UPDATE, "metadata"),
+ E(MPV_EVENT_CHAPTER_CHANGE, "chapter", "chapter-metadata"),
};
#undef E