summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChrisK2 <spam@kalania.de>2013-10-26 11:09:06 +0200
committerChrisK2 <spam@kalania.de>2013-10-26 11:09:06 +0200
commitc341edda35f104a8ea3faaf67c32b342a70145bc (patch)
tree00067d25751ac2df3d6f3a226c50b4851adc632e
parente02ec8019277c78d472d6485da85c70e36487115 (diff)
downloadmpv-c341edda35f104a8ea3faaf67c32b342a70145bc.tar.bz2
mpv-c341edda35f104a8ea3faaf67c32b342a70145bc.tar.xz
osc: display cache status only below 45%
Turnes out, when playing stuff over WiFi, the cache may go below 48% quite frequently.
-rw-r--r--mpvcore/lua/osc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/lua/osc.lua b/mpvcore/lua/osc.lua
index 6d523e9250..f105d10a9c 100644
--- a/mpvcore/lua/osc.lua
+++ b/mpvcore/lua/osc.lua
@@ -1004,7 +1004,7 @@ function osc_init()
local cache = mp.property_get("cache")
if not (cache == nil) then
cache = tonumber(mp.property_get("cache"))
- if (cache < 48) then
+ if (cache < 45) then
ass:append("Cache: " .. (cache) .."%")
end
end