summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 18:07:37 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 18:07:37 +0000
commitc4c806a9d743ec917450515db15b270981930259 (patch)
treee21bb720e33029b0ecfe0dbe27513fd804bb3147 /libvo/vo_gl.c
parent8fb7d45abd13b0d8a427f44f19e338d8b4fb9cc0 (diff)
downloadmpv-c4c806a9d743ec917450515db15b270981930259.tar.bz2
mpv-c4c806a9d743ec917450515db15b270981930259.tar.xz
Put the colourspace-related variables into a separate struct to ease
extracting the code and sharing with other vos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30149 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 058cfb614f..53ddbad977 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -216,7 +216,7 @@ static void update_yuvconv(void) {
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;