1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00

stats.lua: include a filter's @label when displaying filters on page 1

This commit is contained in:
Chris Varenhorst 2021-03-14 19:45:43 -07:00 committed by Jan Ekström
parent 1b2e5137e0
commit 5824d9fff8

View File

@ -426,6 +426,10 @@ local function append_filters(s, prop, prefix)
n = n .. " (disabled)"
end
if f.label ~= nil then
n = "@" .. f.label .. ": " .. n
end
local p = {}
for key,value in pairs(f.params) do
p[#p+1] = key .. "=" .. value