changeset 32808:e67eb882f67a

100l: fix "gamma" equalizer setting to change red, green and blue gamma, not just red.
author reimar
date Sat, 12 Feb 2011 16:52:23 +0000
parents 2564a237c211
children abc6b4c527b5
files libvo/vo_gl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sat Feb 12 11:39:43 2011 +0000
+++ b/libvo/vo_gl.c	Sat Feb 12 16:52:23 2011 +0000
@@ -1387,6 +1387,8 @@
       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;
     }