mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
libs: utils: egl: add missing guards for GstGL
This commit is contained in:
parent
8688e81d42
commit
7418d4e954
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "sysdeps.h"
|
#include "sysdeps.h"
|
||||||
#include "gstvaapiutils_egl.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>
|
# include <gst/gl/egl/gstgldisplay_egl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -540,7 +540,7 @@ egl_display_run (EglDisplay * display, EglContextRunFunc func, gpointer args)
|
||||||
static gpointer
|
static gpointer
|
||||||
egl_get_display_from_native (guintptr native_display, guint gl_platform)
|
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;
|
EGLDisplay ret;
|
||||||
GstGLDisplayType display_type = GST_GL_DISPLAY_TYPE_ANY;
|
GstGLDisplayType display_type = GST_GL_DISPLAY_TYPE_ANY;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue