diff options
author | wm4 <wm4@nowhere> | 2019-09-20 19:21:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-20 19:22:03 +0200 |
commit | 4c4d7a64c6354a792e83552158108f450f12884a (patch) | |
tree | 501a132e6a0c0a16a4965c5cb658f1caabb7a92b | |
parent | ce1e670a33c9e119f37b7b49bbbb7531b12630bf (diff) | |
download | mpv-4c4d7a64c6354a792e83552158108f450f12884a.tar.bz2 mpv-4c4d7a64c6354a792e83552158108f450f12884a.tar.xz |
command: drop removed cache properties from cache update events
These did nothing anymore, maybe made it slightly slower.
-rw-r--r-- | player/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c index 5dce2ccd05..c66ecf4d6b 100644 --- a/player/command.c +++ b/player/command.c @@ -3637,10 +3637,10 @@ static const char *const *const mp_event_property_change[] = { E(MPV_EVENT_PLAYBACK_RESTART, "seeking", "core-idle", "eof-reached"), E(MPV_EVENT_METADATA_UPDATE, "metadata", "filtered-metadata", "media-title"), E(MPV_EVENT_CHAPTER_CHANGE, "chapter", "chapter-metadata"), - E(MP_EVENT_CACHE_UPDATE, "cache", "cache-free", "cache-used", "cache-idle", + E(MP_EVENT_CACHE_UPDATE, "demuxer-cache-duration", "demuxer-cache-idle", "paused-for-cache", "demuxer-cache-time", "cache-buffering-state", "cache-speed", - "cache-percent", "demuxer-cache-state"), + "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"), |