summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 0539903e8e..3b43c2f383 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -913,7 +913,11 @@ typedef enum mpv_event_id {
* Event sent due to mpv_observe_property().
* See also mpv_event and mpv_event_property.
*/
- MPV_EVENT_PROPERTY_CHANGE = 22
+ MPV_EVENT_PROPERTY_CHANGE = 22,
+ /**
+ * Happens when the current chapter changes.
+ */
+ MPV_EVENT_CHAPTER_CHANGE = 23
} mpv_event_id;
/**