[MPlayer-cvslog] r32895 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Sat Feb 12 17:52:24 CET 2011


Author: reimar
Date: Sat Feb 12 17:52:23 2011
New Revision: 32895

Log:
100l: fix "gamma" equalizer setting to change red, green and blue gamma,
not just red.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Sat Feb 12 12:39:43 2011	(r32894)
+++ trunk/libvo/vo_gl.c	Sat Feb 12 17:52:23 2011	(r32895)
@@ -1387,6 +1387,8 @@ static int control(uint32_t request, voi
       if (!(eq_map[i].supportmask & (1 << use_yuv)))
         break;
       *eq_map[i].value = value;
+      if (strcmp(data, "gamma") == 0)
+        eq_rgamma = eq_ggamma = eq_bgamma = value;
       update_yuvconv();
       return VO_TRUE;
     }


More information about the MPlayer-cvslog mailing list