mirror of https://github.com/mpv-player/mpv
osc: display cache status only below 45%
Turnes out, when playing stuff over WiFi, the cache may go below 48% quite frequently.
This commit is contained in:
parent
e02ec80192
commit
c341edda35
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue