[Bug 795336] New: egl: build fails using RPi implementation of EGL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 17 17:21:14 UTC 2018


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

            Bug ID: 795336
           Summary: egl: build fails using RPi implementation of EGL
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: omar.akkila at collabora.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When building gst-plugins-base using the RPi's implementation of EGL (normally
found in /opt/vc), the following occurs:

gsteglimage.c: In function 'gst_egl_image_export_dmabuf':
gsteglimage.c:479:7: error: unknown type name 'EGLuint64KHR'
       EGLuint64KHR * modifiers);
       ^~~~~~~~~~~~
gsteglimage.c:489:3: error: 'gst_eglExportDMABUFImageQueryMESA' undeclared
(first use in this function)
   gst_eglExportDMABUFImageQueryMESA =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:489:3: note: each undeclared identifier is reported only once for
each function it appears in
gsteglimage.c:512:8: warning: implicit declaration of function
'gst_eglExportDMABUFImageQueryMESA' [-Wimplicit-function-declaration]
   if (!gst_eglExportDMABUFImageQueryMESA (egl_display, image->image,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:512:3: warning: nested extern declaration of
'gst_eglExportDMABUFImageQueryMESA' [-Wnested-externs]
   if (!gst_eglExportDMABUFImageQueryMESA (egl_display, image->image,

(The first error causes the following errors and warnings)

This is because EGLuint64KHR is not defined in RPi EGL. Since EGLuint64KHR is a
typedef alias for khronos_uint64_t and USE_EGL_RPI is defined when using RPi
EGL, we can just typedef it in gst-libs/gst/gl/egl/gstegl.h.

-- 
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