summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 19:59:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 19:59:58 +0000
commit498ad7ba573b80ac8740886b46f9f8e660647858 (patch)
treed7f778585377a31f6a78087c996d35e266425815 /libvo/vo_gl.c
parent0ecf324ac56d58230bcd34faecd92d8749f090a6 (diff)
downloadmpv-498ad7ba573b80ac8740886b46f9f8e660647858.tar.bz2
mpv-498ad7ba573b80ac8740886b46f9f8e660647858.tar.xz
First steps to supporting different YUV->RGB conversion definitions.
The numbers are possibly still wrong though. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30151 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 53ddbad977..eb71149bbb 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},
+ {MP_CSP_DEFAULT, 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;