changeset 35830:52f1a3aea26b

Fix setting gamma.
author reimar
date Mon, 25 Feb 2013 21:44:59 +0000
parents 66bbe17c4abc
children acc4ff4f279c
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sat Feb 23 23:54:24 2013 +0000
+++ b/libvo/vo_gl.c	Mon Feb 25 21:44:59 2013 +0000
@@ -1502,7 +1502,7 @@
       if (!(eq_map[i].supportmask & (1 << use_yuv)))
         break;
       *eq_map[i].value = eq->value;
-      if (strcmp(data, "gamma") == 0)
+      if (strcmp(eq->item, "gamma") == 0)
         eq_rgamma = eq_ggamma = eq_bgamma = eq->value;
       update_yuvconv();
       return VO_TRUE;