gl: let the user includes itself our egl headers if needed
authorJulien Isorce <julien.isorce@collabora.co.uk>
Wed, 26 Mar 2014 19:17:03 +0000 (19:17 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:35 +0000 (19:31 +0000)
Forgot to address this change.

https://bugzilla.gnome.org/show_bug.cgi?id=703343

ext/gl/gstglimagesink.c
gst-libs/gst/gl/gl.h
gst-libs/gst/gl/gstglfilter.c

index a4d6d3d3aaff3bc17afd142d7c2dfa181e964069..d0c690f084f1eec816ddae1c192c65dbe335a21e 100644 (file)
 
 #include "gstglimagesink.h"
 
+#if GST_GL_HAVE_PLATFORM_EGL
+#include <gst/gl/egl/gsteglimagememory.h>
+#endif
+
 GST_DEBUG_CATEGORY (gst_debug_glimage_sink);
 #define GST_CAT_DEFAULT gst_debug_glimage_sink
 
index 43cc534b1ff2b4600e02f62ada2c1166c05a6740..07d94781200fab276a50a1be71414cc0db4b3c42 100644 (file)
@@ -39,9 +39,4 @@
 #include <gst/gl/gstglmixer.h>
 #include <gst/gl/gstglshadervariables.h>
 
-#if GST_GL_HAVE_PLATFORM_EGL
-#include <gst/gl/egl/gstgldisplay_egl.h>
-#include <gst/gl/egl/gsteglimagememory.h>
-#endif
-
 #endif /* __GST_GL_H__ */
index bd0796e1cb04751852fe0e5b245b29eb463c29b2..b4af7f73d3af95fc5b9b083aaa9f8587a0f11d96 100644 (file)
 
 #include "gstglfilter.h"
 
+#if GST_GL_HAVE_PLATFORM_EGL
+#include "egl/gsteglimagememory.h"
+#endif
+
 #define GST_CAT_DEFAULT gst_gl_filter_debug
 GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);