summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorJulian <MyFakeAcc.4@googlemail.com>2015-07-05 21:52:37 +0200
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commitab8b6e3c16ebcf07d00b276115158caa5dfc842b (patch)
treefa4d274ed20d6c310f577342f6452c7b17452f7c /player/lua
parent95b6bc31b0786252fe146cd137d6ef1a1f5049e0 (diff)
downloadmpv-ab8b6e3c16ebcf07d00b276115158caa5dfc842b.tar.bz2
mpv-ab8b6e3c16ebcf07d00b276115158caa5dfc842b.tar.xz
stats: fix oversight
this one slipped through my "tests"
Diffstat (limited to 'player/lua')
-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