libs: egl: utils: fix usage of GstGL macros

Include gl.h for the required GstGL symbols.

https://bugzilla.gnome.org/show_bug.cgi?id=795391
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-04-24 10:02:33 +02:00
parent bfd4b43c16
commit 9fde93f80c

View file

@ -22,9 +22,12 @@
#include "sysdeps.h"
#include "gstvaapiutils_egl.h"
#if USE_GST_GL_HELPERS && GST_GL_HAVE_PLATFORM_EGL
#if USE_GST_GL_HELPERS
# include <gst/gl/gl.h>
# if GST_GL_HAVE_PLATFORM_EGL
# include <gst/gl/egl/gstgldisplay_egl.h>
# endif
#endif
#define DEBUG 1
#include "gstvaapidebug.h"