From 6efd095dfd6abc02ea1a1daa34f8b21080012931 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Apr 2015 19:10:07 +0200 Subject: vo_opengl: use correct texture coordinates for nv12 --- video/out/gl_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 3a6cb9ca62..b61d27aeee 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -1358,7 +1358,7 @@ static void pass_read_video(struct gl_video *p) GLSL(vec4 color;) if (p->plane_count == 2) { gl_transform_rect(chromafix, &p->pass_tex[1].src); - GLSL(vec2 chroma = texture(texture1, texcoord0).rg;) // NV formats + GLSL(vec2 chroma = texture(texture1, texcoord1).rg;) // NV formats } else { gl_transform_rect(chromafix, &p->pass_tex[1].src); gl_transform_rect(chromafix, &p->pass_tex[2].src); -- cgit v1.2.3