diff --git a/video/csputils.c b/video/csputils.c index 6e8c76f6d8..9b558c9a3e 100644 --- a/video/csputils.c +++ b/video/csputils.c @@ -693,7 +693,7 @@ void mp_csp_copy_equalizer_values(struct mp_csp_params *params, { params->brightness = eq->values[MP_CSP_EQ_BRIGHTNESS] / 100.0; params->contrast = (eq->values[MP_CSP_EQ_CONTRAST] + 100) / 100.0; - params->hue = eq->values[MP_CSP_EQ_HUE] / 100.0 * 3.1415927; + params->hue = eq->values[MP_CSP_EQ_HUE] / 100.0 * M_PI; params->saturation = (eq->values[MP_CSP_EQ_SATURATION] + 100) / 100.0; float gamma = exp(log(8.0) * eq->values[MP_CSP_EQ_GAMMA] / 100.0); params->rgamma = gamma;