Showing the changes to player/lua/stats.lua (1 of 1 file). Show all
Unified · Split
| @@ -1016,12 +1016,12 @@ local function add_audio(s) · 1015 unmodified lines | |||
| 1016 | local track = mp.get_property_native("current-tracks/audio") | 1016 | local track = mp.get_property_native("current-tracks/audio") |
| 1017 | if track then | 1017 | if track then |
| 1018 | append(s, track["codec-desc"], {prefix_sep="", nl="", indent=""}) | 1018 | append(s, track["codec-desc"], {prefix_sep="", nl="", indent=""}) |
| 1019 | append(s, track["codec-profile"], {prefix="[", nl="", indent=" ", prefix_sep="", | ||
| 1020 | no_prefix_markup=true, suffix="]"}) | ||
| 1019 | if track["codec"] ~= track["decoder"] then | 1021 | if track["codec"] ~= track["decoder"] then |
| 1020 | append(s, track["decoder"], {prefix="[", nl="", indent=" ", prefix_sep="", | 1022 | append(s, track["decoder"], {prefix="[", nl="", indent=" ", prefix_sep="", |
| 1021 | no_prefix_markup=true, suffix="]"}) | 1023 | no_prefix_markup=true, suffix="]"}) |
| 1022 | end | 1024 | end |
| 1023 | append(s, track["codec-profile"], {prefix="[", nl="", indent=" ", prefix_sep="", | ||
| 1024 | no_prefix_markup=true, suffix="]"}) | ||
| 1025 | end | 1025 | end |
| 1026 | append_property(s, "current-ao", {prefix="AO:", nl="", | 1026 | append_property(s, "current-ao", {prefix="AO:", nl="", |
| 1027 | indent=o.prefix_sep .. o.prefix_sep}) | 1027 | indent=o.prefix_sep .. o.prefix_sep}) |