summaryrefslogtreecommitdiff
path: root/omx/gstomxvideodec.c
diff options
context:
space:
mode:
authorJulien Isorce <jisorce@oblong.com>2017-08-22 10:22:45 +0100
committerJulien Isorce <jisorce@oblong.com>2017-08-22 10:29:05 +0100
commit054d5da46eb2a2198e32e103b2ecf31ba6b9fc46 (patch)
tree65f50e25cb45ba0fc9d02dfc58dea9ad00ff4d07 /omx/gstomxvideodec.c
parentac6f3ab3d319d6a5c722efaa5780c006f113dbea (diff)
downloadgst-omx-054d5da46eb2a2198e32e103b2ecf31ba6b9fc46.tar.gz
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
Diffstat (limited to 'omx/gstomxvideodec.c')
-rw-r--r--omx/gstomxvideodec.c2
1 files changed, 1 insertions, 1 deletions
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);