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
This commit is contained in:
Julien Isorce 2017-08-22 10:22:45 +01:00
parent ac6f3ab3d3
commit 054d5da46e

View file

@ -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);