From c2b3d967baf0f38807764ee9a04d620de19d3403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 7 Nov 2023 19:05:42 +0100 Subject: player/command: fix typo in sig-peak value computation Fixes: 73fbe09a49d3ed00c6e19fdcc658802f28974ae2 --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/command.c b/player/command.c index a397f2d9d0..08947e9205 100644 --- a/player/command.c +++ b/player/command.c @@ -2324,7 +2324,7 @@ static int property_imgparams(struct mp_image_params p, int action, void *arg) SUB_PROP_STR(m_opt_choice_str(mp_csp_prim_names, p.color.primaries))}, {"gamma", SUB_PROP_STR(m_opt_choice_str(mp_csp_trc_names, p.color.gamma))}, - {"sig-peak", SUB_PROP_FLOAT(p.color.hdr.max_luma * MP_REF_WHITE)}, + {"sig-peak", SUB_PROP_FLOAT(p.color.hdr.max_luma / MP_REF_WHITE)}, {"light", SUB_PROP_STR(m_opt_choice_str(mp_csp_light_names, p.color.light))}, {"chroma-location", -- cgit v1.2.3