diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-04 00:52:14 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-05 18:57:36 +0100 |
commit | 73fbe09a49d3ed00c6e19fdcc658802f28974ae2 (patch) | |
tree | 8a39d61582d5e951547a6ce97638929c5f342e84 /player/lua/stats.lua | |
parent | d9a483cb17cf5239546fec2462b4c2ccca579723 (diff) | |
download | mpv-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/stats.lua')
-rw-r--r-- | player/lua/stats.lua | 5 |
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:") |