From 4c4d7a64c6354a792e83552158108f450f12884a Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Sep 2019 19:21:49 +0200 Subject: command: drop removed cache properties from cache update events These did nothing anymore, maybe made it slightly slower. --- player/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player') 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"), -- cgit v1.2.3