1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 21:42:18 +00:00

player/command: fix typo in sig-peak value computation

Fixes: 73fbe09a49d3ed00c6e19fdcc658802f28974ae2
This commit is contained in:
Kacper Michajłow 2023-11-07 19:05:42 +01:00 committed by Jan Ekström
parent 6dafc44ed0
commit c2b3d967ba

View File

@ -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",