From 73fbe09a49d3ed00c6e19fdcc658802f28974ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 4 Nov 2023 00:52:14 +0100 Subject: 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. --- player/lua/stats.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'player/lua') 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:") -- cgit v1.2.3