summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorJulian <MyFakeAcc.4@googlemail.com>2016-07-30 02:21:45 +0900
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit3f4fd36aa8810b3893a7989278552ceeda103315 (patch)
tree717608363f2635f00179685802e1c56e46c6adae /player/lua
parent6c7385c539c1d3a48315dc2370273526befde3a5 (diff)
downloadmpv-3f4fd36aa8810b3893a7989278552ceeda103315.tar.bz2
mpv-3f4fd36aa8810b3893a7989278552ceeda103315.tar.xz
stats: fix comment typo
Diffstat (limited to 'player/lua')
-rw-r--r--player/lua/stats.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index 579cb67dfd..938efa33ce 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -259,13 +259,13 @@ end
-- is skipped and not appended.
-- Returns `false` in case nothing was appended, otherwise `true`.
--
--- s : Table containing strings.
--- property: The property to query and format (based on its OSD representation).
--- attr : Optional table to overwrite certain (formatting) attributes for
--- this property.
--- exclude : Optional table containing keys which are considered invalid values
--- for this property. Specifying this will replace empty string as
--- default invalid value (nil is always invalid).
+-- s : Table containing strings.
+-- prop : The property to query and format (based on its OSD representation).
+-- attr : Optional table to overwrite certain (formatting) attributes for
+-- this property.
+-- exclude: Optional table containing keys which are considered invalid values
+-- for this property. Specifying this will replace empty string as
+-- default invalid value (nil is always invalid).
local function append_property(s, prop, attr, excluded)
excluded = excluded or {[""] = true}
local ret = mp.get_property_osd(prop)