diff libvo/vo_gl.c @ 30107:11e3ee8cd05e

Put the colourspace-related variables into a separate struct to ease extracting the code and sharing with other vos.
author reimar
date Thu, 31 Dec 2009 18:07:37 +0000
parents 9d724e6def3e
children 0f25d3062987
line wrap: on
line diff
--- a/libvo/vo_gl.c	Thu Dec 31 16:47:53 2009 +0000
+++ b/libvo/vo_gl.c	Thu Dec 31 18:07:37 2009 +0000
@@ -216,7 +216,7 @@
   float ggamma = exp(log(8.0) * eq_ggamma / 100.0);
   float bgamma = exp(log(8.0) * eq_bgamma / 100.0);
   gl_conversion_params_t params = {gl_target, yuvconvtype,
-      bri, cont, hue, sat, rgamma, ggamma, bgamma,
+      {bri, cont, hue, sat, rgamma, ggamma, bgamma},
       texture_width, texture_height, 0, 0, filter_strength};
   mp_get_chroma_shift(image_format, &xs, &ys);
   params.chrom_texw = params.texw >> xs;