diff options
author | wm4 <wm4@nowhere> | 2014-07-31 04:19:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-31 04:19:41 +0200 |
commit | b4f24544bbfdd2bec765db08f5d745fadeb4d111 (patch) | |
tree | ba6aa91bdd52a0e8309af331c75a896fee23c7d1 /player/core.h | |
parent | aaa90e1a337dac7f1ef0e8e289d50950a67c90a1 (diff) | |
download | mpv-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 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index 6b3cf55f8b..dd5d975038 100644 --- a/player/core.h +++ b/player/core.h @@ -306,6 +306,7 @@ typedef struct MPContext { double next_heartbeat; double last_idle_tick; + double next_cache_update; double sleeptime; // number of seconds to sleep before next iteration |