From f230ec14ba6cf4704cefc53084b0538b9bc9aca5 Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Fri, 20 Dec 2013 15:18:38 +0000 Subject: [PATCH] [851/906] deinterlace: fix texture coordinates computation Fixes a regression introduced by fffdcbdd3dde437e10cf6e1b5e40c6958d41e6c1 https://bugzilla.gnome.org/show_bug.cgi?id=720826 --- gst/gl/gstgldeinterlace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gl/gstgldeinterlace.c b/gst/gl/gstgldeinterlace.c index 4c2ce1499a..b420fa6cec 100644 --- a/gst/gl/gstgldeinterlace.c +++ b/gst/gl/gstgldeinterlace.c @@ -78,7 +78,7 @@ static const gchar *greedyh_fragment_source = "void main () {\n" " vec2 texcoord = gl_TexCoord[0].xy;\n" - " if (int(mod(texcoord.y * width, 2.0)) == 0) {\n" + " if (int(mod(texcoord.y * height, 2.0)) == 0) {\n" " gl_FragColor = vec4(texture2D(tex_prev, texcoord).rgb, 1.0);\n" " } else {\n" " vec2 texcoord_L1_a1, texcoord_L3_a1, texcoord_L1, texcoord_L3, texcoord_L1_1, texcoord_L3_1;\n"