mirror of https://github.com/mpv-player/mpv
parent
95b6bc31b0
commit
ab8b6e3c16
|
@ -169,7 +169,7 @@ end
|
||||||
function append_property(s, sec, prop, attr, excluded)
|
function append_property(s, sec, prop, attr, excluded)
|
||||||
excluded = excluded or {[""] = true}
|
excluded = excluded or {[""] = true}
|
||||||
local ret = mp.get_property_osd(prop)
|
local ret = mp.get_property_osd(prop)
|
||||||
if excluded[ret] then
|
if not ret or excluded[ret] then
|
||||||
if o.debug then
|
if o.debug then
|
||||||
print("No value for property: " .. prop)
|
print("No value for property: " .. prop)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue