mirror of
https://github.com/mpv-player/mpv
synced 2025-01-29 19:22:48 +00:00
stats.lua: fix codec-profile position for audio
This commit is contained in:
parent
ea03451d1e
commit
a3f72ea87c
@ -1016,12 +1016,12 @@ local function add_audio(s)
|
||||
local track = mp.get_property_native("current-tracks/audio")
|
||||
if track then
|
||||
append(s, track["codec-desc"], {prefix_sep="", nl="", indent=""})
|
||||
append(s, track["codec-profile"], {prefix="[", nl="", indent=" ", prefix_sep="",
|
||||
no_prefix_markup=true, suffix="]"})
|
||||
if track["codec"] ~= track["decoder"] then
|
||||
append(s, track["decoder"], {prefix="[", nl="", indent=" ", prefix_sep="",
|
||||
no_prefix_markup=true, suffix="]"})
|
||||
end
|
||||
append(s, track["codec-profile"], {prefix="[", nl="", indent=" ", prefix_sep="",
|
||||
no_prefix_markup=true, suffix="]"})
|
||||
end
|
||||
append_property(s, "current-ao", {prefix="AO:", nl="",
|
||||
indent=o.prefix_sep .. o.prefix_sep})
|
||||
|
Loading…
Reference in New Issue
Block a user