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)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 14 Mar 2017 15:07:40 +0000 (17:07 +0200)
commit20d4aca0d44b83347c12c24e770a5b578afcfc20
treedf7f6be662f44570ed47b96d2f9a0ace20d60b6b
parent5e9ce3313f4acd26b6672e7729f2a3e4f95ff798
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