From b4f24544bbfdd2bec765db08f5d745fadeb4d111 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 31 Jul 2014 04:19:41 +0200 Subject: 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. --- player/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player/core.h') 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 -- cgit v1.2.3