summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.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_gl2.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_gl2.c')
-rw-r--r--libvo/vo_gl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index bbf850b827..1cdf7bf83f 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -571,7 +571,7 @@ static int initGl(uint32_t d_width, uint32_t d_height)
if (is_yuv) {
int xs, ys;
gl_conversion_params_t params = {GL_TEXTURE_2D, use_yuv,
- {0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0},
+ {MP_CSP_DEFAULT, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0},
texture_width, texture_height, 0, 0, 0};
switch (use_yuv) {
case YUV_CONVERSION_FRAGMENT_LOOKUP: