mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
[851/906] deinterlace: fix texture coordinates computation
Fixes a regression introduced by fffdcbdd3dde437e10cf6e1b5e40c6958d41e6c1 https://bugzilla.gnome.org/show_bug.cgi?id=720826
This commit is contained in:
parent
b0a43c0c65
commit
f230ec14ba
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue