mirror of https://github.com/mpv-player/mpv
osc: Okay, don't multiply the cache value
As expected, this is not liked.
This commit is contained in:
parent
f3556356b7
commit
ccdaecfc5c
|
@ -963,11 +963,7 @@ function osc_init()
|
||||||
if not (cache == nil) then
|
if not (cache == nil) then
|
||||||
cache = tonumber(mp.property_get("cache"))
|
cache = tonumber(mp.property_get("cache"))
|
||||||
if (cache < 48) then
|
if (cache < 48) then
|
||||||
if not (user_opts.iAmAProgrammer) then
|
ass:append("Cache: " .. (cache) .."%")
|
||||||
ass:append("Cache: " .. (cache*2) .."%")
|
|
||||||
else
|
|
||||||
ass:append("Cache: " .. (cache) .."%")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue