diff options
author | wm4 <wm4@nowhere> | 2019-05-17 22:00:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | f57fad4a4d1922eb9a0ac8f21fd3328756babd0c (patch) | |
tree | 7893970ea8a9f44d20b6444750aa9da4468daef7 | |
parent | f99d9c5b0892d3cfb7277dbcc19c93c1578c1111 (diff) | |
download | mpv-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.
-rw-r--r-- | player/command.c | 2 |
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"), |