From 054d5da46eb2a2198e32e103b2ecf31ba6b9fc46 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Tue, 22 Aug 2017 10:22:45 +0100 Subject: [PATCH] omxvideodec: EGLDisplay is not indirectly defined by gstgl headers inclusion Just use gpointer as done in GstGL to not include EGL/egl.h just for EGLDisplay. https://bugzilla.gnome.org/show_bug.cgi?id=784779 --- omx/gstomxvideodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 2c79781..fe4f337 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -657,7 +657,7 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self) GList *images = NULL; gint i; GstBufferPoolAcquireParams params = { 0, }; - EGLDisplay egl_display = 0; + gpointer egl_display = 0; GST_DEBUG_OBJECT (self, "Trying to allocate %d EGLImages", min); -- 2.7.4