GNOME Bugzilla – Bug 797319
GST_GL_DISPLAY_EGL_NAME undeclared when running the gstreamer-rs-sys test suite
Last modified: 2018-11-03 12:11:17 UTC
While running the tests of the rust -sys bindings, I hit the following issue. https://paste.gnome.org/peztjkb0g slomo identified this as a bug in gst-plugins-base, here is the relevant github comment about it. > This is a bug in GStreamer in one way or another. That constant (and a few others) are added to the .gir file but are not included by the specified header. This constant would require explicit inclusion of gst/gl/egl/gstglmemoryegl.h or gst/gl/egl/gstgldisplay_egl.h. Needs a bug report against GStreamer. gstreamer-rs-sys issue: https://github.com/sdroege/gstreamer-sys/issues/16#issuecomment-430136136
So either we need to add all the relevant headers... or what I would prefer is to some how not have the EGL, Wayland, X11, etc. specific API in the .gir file at all, but in a separate .gir file that only exists when it is enabled.
Adding the relevant headers is not what I would prefer. A new GstGL-system/platform/thingy .gir with maybe some other things like gstglfuncs.h is a more useful split.
I also prefer that solution, but I don't know how to do that best build-system-wise.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/497.