mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 22:49:58 +00:00
stats.lua: sort filter parameters to ensure consistent output
This commit is contained in:
parent
9dddfc4fcc
commit
73db283296
@ -602,8 +602,8 @@ local function append_filters(s, prop, prefix)
|
||||
end
|
||||
|
||||
local p = {}
|
||||
for key,value in pairs(f.params) do
|
||||
p[#p+1] = key .. "=" .. value
|
||||
for _,key in ipairs(sorted_keys(f.params)) do
|
||||
p[#p+1] = key .. "=" .. f.params[key]
|
||||
end
|
||||
if #p > 0 then
|
||||
p = " [" .. table.concat(p, " ") .. "]"
|
||||
|
Loading…
Reference in New Issue
Block a user