summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-04 00:52:14 +0100
committersfan5 <sfan5@live.de>2023-11-05 18:57:36 +0100
commit73fbe09a49d3ed00c6e19fdcc658802f28974ae2 (patch)
tree8a39d61582d5e951547a6ce97638929c5f342e84 /player/lua
parentd9a483cb17cf5239546fec2462b4c2ccca579723 (diff)
downloadmpv-73fbe09a49d3ed00c6e19fdcc658802f28974ae2.tar.bz2
mpv-73fbe09a49d3ed00c6e19fdcc658802f28974ae2.tar.xz
ALL: use pl_hdr_metadata and nuke sig_peak
This commit replaces all uses of sig_peak and maps all HDR metadata. Form notable changes mixed usage of maxCLL and max_luma is resolved and not always max_luma is used which makes vo_gpu and vo_gpu_next behave the same way.
Diffstat (limited to 'player/lua')
-rw-r--r--player/lua/stats.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index 75e44cd66f..9401a9032c 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -933,11 +933,6 @@ local function add_video(s)
append_fps(s, "container-fps", "estimated-vf-fps")
end
append_img_params(s, r, ro)
-
- if not ro["max-cll"] then
- ro["max-cll"] = math.floor((ro["sig-peak"] or 0) * 203)
- end
-
append_hdr(s, ro)
append_property(s, "packet-video-bitrate", {prefix="Bitrate:", suffix=" kbps"})
append_filters(s, "vf", "Filters:")