[Bug 768602] EGL_DMA_Buf: Wrong attribute list type for EGL 1.5

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 26 05:17:44 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768602

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #331465|none                        |needs-work
             status|                            |

--- Comment #17 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
Review of attachment 331465:
 --> (https://bugzilla.gnome.org/review?bug=768602&attachment=331465)

This fails to compile here:

gsteglimage.c: In function ‘gst_egl_image_from_dmabuf’:
gsteglimage.c:285:38: error: passing argument 5 of ‘ctx_egl->eglCreateImage’
from incompatible pointer type [-Werror=incompatible-pointer-types]
         EGL_LINUX_DMA_BUF_EXT, NULL, attribs_1_5);
                                      ^~~~~~~~~~~
gsteglimage.c:285:38: note: expected ‘const EGLint * {aka const int *}’ but
argument is of type ‘EGLAttrib * {aka long int *}’

Unfortunately, it seems that we will need two different function declarations
for eglCreateImage to overcome the EGLInt vs EGLAttrib issue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list