diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-01-17 12:41:54 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-01-17 12:41:54 +0100 |
commit | 7418d4e954cafc1b70fef3e9c1bb275502faaea7 (patch) | |
tree | e45956e896dfbb3486008b4e08dc3278cff3672d | |
parent | 8688e81d426b42aaa14ab18cd1c2dda087b9d478 (diff) |
libs: utils: egl: add missing guards for GstGL
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiutils_egl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils_egl.c b/gst-libs/gst/vaapi/gstvaapiutils_egl.c index db570ad9..17a6cd89 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_egl.c +++ b/gst-libs/gst/vaapi/gstvaapiutils_egl.c @@ -22,7 +22,7 @@ #include "sysdeps.h" #include "gstvaapiutils_egl.h" -#if USE_GST_GL_HELPERS +#if USE_GST_GL_HELPERS && GST_GL_HAVE_PLATFORM_EGL # include <gst/gl/egl/gstgldisplay_egl.h> #endif @@ -540,7 +540,7 @@ egl_display_run (EglDisplay * display, EglContextRunFunc func, gpointer args) static gpointer egl_get_display_from_native (guintptr native_display, guint gl_platform) { -#if USE_GST_GL_HELPERS +#if USE_GST_GL_HELPERS && GST_GL_HAVE_PLATFORM_EGL EGLDisplay ret; GstGLDisplayType display_type = GST_GL_DISPLAY_TYPE_ANY; |