diff options
author | wm4 <wm4@nowhere> | 2015-10-23 15:56:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-23 15:56:17 +0200 |
commit | 0344abd67a98b0eada612d9d9f37f23a515532e5 (patch) | |
tree | f4b34717355c1f641972e012fa48394d46e4abf2 | |
parent | 56fefde7e2ee0c31e9d4d39b5bd0ca8a5643ebe5 (diff) |
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.)
-rw-r--r-- | video/out/opengl/hwdec_vaegl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |