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.
This commit is contained in:
wm4
2014-07-31 04:19:41 +02:00
parent aaa90e1a33
commit b4f24544bb
5 changed files with 18 additions and 0 deletions

View File

@@ -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;
/**