glcolorconvert: fix YUY2/UYVY,rectangle->RGB conversion
authorMatthew Waters <matthew@centricular.com>
Tue, 2 Feb 2016 02:51:18 +0000 (13:51 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:16 +0000 (19:32 +0000)
commitb4704301c68920def32d729de6dd2437a94b1a38
treed177b8d1fa20b018de434be0e39e627a64fe98cb
parent32b71bd48d90f395b38719dae5436a952eeae1c8
glcolorconvert: fix YUY2/UYVY,rectangle->RGB conversion

1.0 / width does not offset by one pixel in rectangular textures (which use
unnormalized coordinates).

Provide the actual pixel offset as a uniform to the shader.
gst-libs/gst/gl/gstglcolorconvert.c