From e8a996cedef347f9a4cee1172db39e7f0eea821f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 27 Apr 2014 22:28:07 +0200 Subject: client API: add chapter change event Also works for mpv_observe_property() on the "chapter" property. --- libmpv/client.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libmpv') 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; /** -- cgit v1.2.3