0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

vo_opengl: increase ambient light changes log level

info is a quite too annoying. increase it to verbose.
This commit is contained in:
Stefano Pigozzi 2015-03-04 20:18:14 +01:00
parent 6d4a758295
commit ae33ec2c5b

View File

@ -2584,7 +2584,7 @@ void gl_video_set_ambient_lux(struct gl_video *p, int lux)
{
if (p->opts.gamma_auto) {
float gamma = gl_video_scale_ambient_lux(16.0, 64.0, 2.40, 1.961, lux);
MP_INFO(p, "ambient light changed: %dlux (gamma: %f)\n", lux, gamma);
MP_VERBOSE(p, "ambient light changed: %dlux (gamma: %f)\n", lux, gamma);
p->opts.gamma = MPMIN(1.0, 1.961 / gamma);
gl_video_eq_update(p);
}