vo_gl: fix "gamma" equalizer setting

The "gamma" setting only changed red gamma. Fix it to change all of
red, green and blue gamma.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32895 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2011-02-12 16:52:23 +00:00 committed by Uoti Urpala
parent 4726be4314
commit c246c09b03
1 changed files with 2 additions and 0 deletions

View File

@ -1393,6 +1393,8 @@ static int control(uint32_t request, void *data)
if (!(eq_map[i].supportmask & (1 << use_yuv)))
break;
*eq_map[i].value = args->value;
if (strcmp(args->name, "gamma") == 0)
eq_rgamma = eq_ggamma = eq_bgamma = args->value;
update_yuvconv();
return VO_TRUE;
}