glmemory: Provide correct size on upload
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sat, 28 Feb 2015 18:01:16 +0000 (13:01 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:55 +0000 (19:31 +0000)
commit0cbe42af241207a620e2b5147b40be011038fcca
tree8554eba3c6874db4466cb8111372cdceb6287b06
parent3405eec9961638a608ae56e3de8a7d2f759c2871
glmemory: Provide correct size on upload

Provide the right size to GL when uploading. Using maxsize is wrong
since we offset the data point with the memory offset and video
alignement offset.

https://bugzilla.gnome.org/show_bug.cgi?id=744246
gst-libs/gst/gl/gstglmemory.c