summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-07 19:05:42 +0100
committerJan Ekström <jeebjp@gmail.com>2023-11-07 20:59:46 +0200
commitc2b3d967baf0f38807764ee9a04d620de19d3403 (patch)
treebd021e5d9db1287874abe8765a79030aad9947fe /player
parent6dafc44ed039ffb4a441fc6a2853db0408a48875 (diff)
downloadmpv-c2b3d967baf0f38807764ee9a04d620de19d3403.tar.bz2
mpv-c2b3d967baf0f38807764ee9a04d620de19d3403.tar.xz
player/command: fix typo in sig-peak value computation
Fixes: 73fbe09a49d3ed00c6e19fdcc658802f28974ae2
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
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",