diff --git a/gst-libs/gst/gl/egl/gsteglimagememory.c b/gst-libs/gst/gl/egl/gsteglimagememory.c index e6d2c10ce7..46098b507c 100644 --- a/gst-libs/gst/gl/egl/gsteglimagememory.c +++ b/gst-libs/gst/gl/egl/gsteglimagememory.c @@ -44,6 +44,26 @@ #endif #endif +#ifndef EGL_LINUX_DMA_BUF_EXT +#define EGL_LINUX_DMA_BUF_EXT 0x3270 +#endif + +#ifndef EGL_LINUX_DRM_FOURCC_EXT +#define EGL_LINUX_DRM_FOURCC_EXT 0x3271 +#endif + +#ifndef EGL_DMA_BUF_PLANE0_FD_EXT +#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 +#endif + +#ifndef EGL_DMA_BUF_PLANE0_OFFSET_EXT +#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 +#endif + +#ifndef EGL_DMA_BUF_PLANE0_PITCH_EXT +#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 +#endif + GST_DEBUG_CATEGORY_STATIC (GST_CAT_EGL_IMAGE_MEMORY); #define GST_CAT_DEFAULT GST_CAT_EGL_IMAGE_MEMORY