qt: don't #include platform specific gstglcontext_*.h headers
authorMatthew Waters <matthew@centricular.com>
Wed, 7 Feb 2018 09:15:00 +0000 (20:15 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 7 Feb 2018 09:15:35 +0000 (20:15 +1100)
They aren't public headers

ext/qt/gstqtglutility.cc

index 4a88bb6..8d5b242 100644 (file)
 #if GST_GL_HAVE_WINDOW_X11 && defined (HAVE_QT_X11)
 #include <QX11Info>
 #include <gst/gl/x11/gstgldisplay_x11.h>
-#if GST_GL_HAVE_PLATFORM_GLX
-#include <gst/gl/x11/gstglcontext_glx.h>
-#elif GST_GL_HAVE_PLATFORM_EGL
-#include <gst/gl/egl/gstglcontext_egl.h>
-#endif
 #endif
 
 #if GST_GL_HAVE_WINDOW_WAYLAND && GST_GL_HAVE_PLATFORM_EGL && defined (HAVE_QT_WAYLAND)
@@ -48,7 +43,6 @@
 #include <gst/gl/egl/gstegl.h>
 #include <gst/gl/egl/gstgldisplay_egl.h>
 #endif
-#include <gst/gl/egl/gstglcontext_egl.h>
 #endif
 
 #define GST_CAT_DEFAULT qt_gl_utils_debug