summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorRicardo Constantino (:RiCON) <wiiaboo@gmail.com>2016-03-20 20:39:03 +0000
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit7c261899cfb7929c2a5c6ab6d944fde29d528314 (patch)
tree7e0b89eb54ab04433f26cbdaae9e913d7f6d9409 /player
parent5fb8dc5943b397b1bacbfb6fa27b0f6d1563a0a9 (diff)
downloadmpv-7c261899cfb7929c2a5c6ab6d944fde29d528314.tar.bz2
mpv-7c261899cfb7929c2a5c6ab6d944fde29d528314.tar.xz
stats: add cache-speed
Diffstat (limited to 'player')
-rw-r--r--player/lua/stats.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index c3b484c42f..dc0b6bdbd1 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -92,6 +92,9 @@ function add_file(s)
append_property(s, sec, "demuxer-cache-duration",
{prefix="+", suffix=" sec", nl="", indent=o.prefix_sep,
prefix_sep="", no_prefix_markup=true})
+ append_property(s, sec, "cache-speed",
+ {prefix="", suffix="", nl="", indent=o.prefix_sep,
+ prefix_sep="", no_prefix_markup=true})
end
end
@@ -272,6 +275,4 @@ function b(t)
return o.b1 .. t .. o.b0
end
-
-
mp.add_key_binding("i", mp.get_script_name(), main, {repeatable=true})