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:
ChrisK2 2013-10-26 11:09:06 +02:00
parent e02ec80192
commit c341edda35
1 changed files with 1 additions and 1 deletions

View File

@ -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