mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:12:25 +00:00
stats.lua: include a filter's @label when displaying filters on page 1
This commit is contained in:
parent
1b2e5137e0
commit
5824d9fff8
@ -426,6 +426,10 @@ local function append_filters(s, prop, prefix)
|
|||||||
n = n .. " (disabled)"
|
n = n .. " (disabled)"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if f.label ~= nil then
|
||||||
|
n = "@" .. f.label .. ": " .. n
|
||||||
|
end
|
||||||
|
|
||||||
local p = {}
|
local p = {}
|
||||||
for key,value in pairs(f.params) do
|
for key,value in pairs(f.params) do
|
||||||
p[#p+1] = key .. "=" .. value
|
p[#p+1] = key .. "=" .. value
|
||||||
|
Loading…
Reference in New Issue
Block a user