glmemory: take subsampling into account for rectangle textures
authorAlessandro Decina <alessandro.d@gmail.com>
Thu, 10 Dec 2015 01:33:52 +0000 (12:33 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:11 +0000 (19:32 +0000)
commitfa1c4e552ca23f93595ef0659184f0cec3a1d862
treebb0f34d7816d647deb4e5107384c386c144b5b4c
parente8f966dcabd313cdcaba37523fbcf48a590e9a00
glmemory: take subsampling into account for rectangle textures

Rectangle textures don't use normalized coordinates so subsampling needs to be
factored in explicitly.

Fixes YUV => RGB conversion for rectangle textures.
gst-libs/gst/gl/gstglmemory.c