mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
stats: remove table in table
Almost cosmetic change. This tables-in-table was done back when we actually processed strings but that's long ago now and no longer needed nor useful.
This commit is contained in:
parent
783046f5ff
commit
6c7aae769a
@ -496,21 +496,13 @@ end
|
||||
|
||||
-- Returns an ASS string with "normal" stats
|
||||
local function default_stats()
|
||||
local stats = {
|
||||
header = {},
|
||||
file = {},
|
||||
video = {},
|
||||
audio = {},
|
||||
}
|
||||
|
||||
local stats = {}
|
||||
eval_ass_formatting()
|
||||
add_header(stats.header)
|
||||
add_file(stats.file)
|
||||
add_video(stats.video)
|
||||
add_audio(stats.audio)
|
||||
|
||||
return table.concat(stats.header) .. table.concat(stats.file) ..
|
||||
table.concat(stats.video) .. table.concat(stats.audio)
|
||||
add_header(stats)
|
||||
add_file(stats)
|
||||
add_video(stats)
|
||||
add_audio(stats)
|
||||
return table.concat(stats)
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user