summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-31 04:19:41 +0200
committerwm4 <wm4@nowhere>2014-07-31 04:19:41 +0200
commitb4f24544bbfdd2bec765db08f5d745fadeb4d111 (patch)
treeba6aa91bdd52a0e8309af331c75a896fee23c7d1 /libmpv
parentaaa90e1a337dac7f1ef0e8e289d50950a67c90a1 (diff)
downloadmpv-b4f24544bbfdd2bec765db08f5d745fadeb4d111.tar.bz2
mpv-b4f24544bbfdd2bec765db08f5d745fadeb4d111.tar.xz
client API: make "cache" property and similar observable
Achieve this by polling. Will be used by the OSC. Basically a bad hack - but the point is that the mpv core itself is in the best position to improve this later.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 9abba6434b..69bc77c0ac 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -983,6 +983,7 @@ typedef enum mpv_event_id {
* Happens when the current chapter changes.
*/
MPV_EVENT_CHAPTER_CHANGE = 23
+ // Internal note: adjust INTERNAL_EVENT_BASE when adding new events.
} mpv_event_id;
/**