summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/lua/stats.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index b9c37aeee8..bbc3778fac 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -169,7 +169,7 @@ end
function append_property(s, sec, prop, attr, excluded)
excluded = excluded or {[""] = true}
local ret = mp.get_property_osd(prop)
- if excluded[ret] then
+ if not ret or excluded[ret] then
if o.debug then
print("No value for property: " .. prop)
end