summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-17 22:00:43 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commitf57fad4a4d1922eb9a0ac8f21fd3328756babd0c (patch)
tree7893970ea8a9f44d20b6444750aa9da4468daef7 /player/command.c
parentf99d9c5b0892d3cfb7277dbcc19c93c1578c1111 (diff)
downloadmpv-f57fad4a4d1922eb9a0ac8f21fd3328756babd0c.tar.bz2
mpv-f57fad4a4d1922eb9a0ac8f21fd3328756babd0c.tar.xz
command: make demuxer-cache-state property observable
The update is throttled by the normal playloop cache update mechanism.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 167ebe539b..4aae5e21b8 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3611,7 +3611,7 @@ static const char *const *const mp_event_property_change[] = {
E(MP_EVENT_CACHE_UPDATE, "cache", "cache-free", "cache-used", "cache-idle",
"demuxer-cache-duration", "demuxer-cache-idle", "paused-for-cache",
"demuxer-cache-time", "cache-buffering-state", "cache-speed",
- "cache-percent"),
+ "cache-percent", "demuxer-cache-state"),
E(MP_EVENT_WIN_RESIZE, "window-scale", "osd-width", "osd-height", "osd-par"),
E(MP_EVENT_WIN_STATE, "window-minimized", "display-names", "display-fps",
"fullscreen"),