glupload: adjust memory offset calculation for dmabuf buffers
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Mon, 13 Mar 2017 13:48:33 +0000 (15:48 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:27 +0000 (19:32 +0000)
commit6b6a8a46b5fe240fe4cd066dbcba4e2620f55695
treecec8dea1c4c4d9ab75daa35b980776a04a9757f6
parent61ee2685c040f5f85ab37190d4193893957fb969
glupload: adjust memory offset calculation for dmabuf buffers

The data in the dmabuf fd may not start from byte 0, therefore
we need to inform EGL about this additional offset.

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