From 0344abd67a98b0eada612d9d9f37f23a515532e5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Oct 2015 15:56:17 +0200 Subject: vo_opengl: vaapi: fix compilation failure on older systems Older systems have certain EGL extension definitions missing. We redefine them to make the build system easier, and because it's trivial. But we forgot to define the EGL_LINUX_DMA_BUF_EXT identifier. (I hope it's the only missing one.) --- video/out/opengl/hwdec_vaegl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c index dccd13a5a7..efc09c28ba 100644 --- a/video/out/opengl/hwdec_vaegl.c +++ b/video/out/opengl/hwdec_vaegl.c @@ -39,7 +39,8 @@ typedef void* GLeglImageOES; typedef void *EGLImageKHR; #endif -#ifndef EGL_LINUX_DRM_FOURCC_EXT +#ifndef EGL_LINUX_DMA_BUF_EXT +#define EGL_LINUX_DMA_BUF_EXT 0x3270 #define EGL_LINUX_DRM_FOURCC_EXT 0x3271 #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 -- cgit v1.2.3