summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSimon Himmelbauer <shimmelbauer@toolsonair.com>2017-05-18 15:23:14 +0300
committerSebastian Dröge <sebastian@centricular.com>2017-05-29 10:49:21 +0300
commit8f270a5b68a6bfd6eb0392fb7031fb1f0d6ecbc0 (patch)
treea3d8dbd522942ed5fb780f997025913ec9b34327 /ext
parent877d428360d58bac033c950a6c9becb5bd05f881 (diff)
downloadgstreamer-plugins-bad-8f270a5b68a6bfd6eb0392fb7031fb1f0d6ecbc0.tar.gz
qt: Use GST_GL_HAVE_PLATFORM_CGL instead of GST_GL_HAVE_PLATFORM_COCOA
The latter is not used/available anymore since years. Also fix a typo in the include path for the Cocoa GL display header.
Diffstat (limited to 'ext')
-rw-r--r--ext/qt/gstqtglutility.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/qt/gstqtglutility.cc b/ext/qt/gstqtglutility.cc
index 22aae60da..a4b22aa95 100644
--- a/ext/qt/gstqtglutility.cc
+++ b/ext/qt/gstqtglutility.cc
@@ -46,8 +46,8 @@
#include <gst/gl/egl/gstglcontext_egl.h>
#endif
-#if GST_GL_HAVE_WINDOW_COCOA && GST_GL_HAVE_PLATFORM_COCOA && defined (HAVE_QT_MAC)
-#include <gst/gl/coaoa/gstgldisplay_cocoa.h>
+#if GST_GL_HAVE_WINDOW_COCOA && GST_GL_HAVE_PLATFORM_CGL && defined (HAVE_QT_MAC)
+#include <gst/gl/cocoa/gstgldisplay_cocoa.h>
#endif
#define GST_CAT_DEFAULT qt_gl_utils_debug
@@ -119,7 +119,7 @@ gst_qt_get_gl_display ()
}
#endif
-#if GST_GL_HAVE_WINDOW_COCOA && GST_GL_HAVE_PLATFORM_COCOA && defined (HAVE_QT_MAC)
+#if GST_GL_HAVE_WINDOW_COCOA && GST_GL_HAVE_PLATFORM_CGL && defined (HAVE_QT_MAC)
if (QString::fromUtf8 ("cocoa") == app->platformName())
display = (GstGLDisplay *) gst_gl_display_cocoa_new ();
#endif
@@ -169,7 +169,7 @@ gst_qt_get_gl_wrapcontext (GstGLDisplay * display,
}
#endif
if (platform == 0) {
-#if GST_GL_HAVE_WINDOW_COCOA && GST_GL_HAVE_PLATFORM_COCOA && defined (HAVE_QT_MAC)
+#if GST_GL_HAVE_WINDOW_COCOA && GST_GL_HAVE_PLATFORM_CGL && defined (HAVE_QT_MAC)
platform = GST_GL_PLATFORM_CGL;
#elif GST_GL_HAVE_WINDOW_EAGL && GST_GL_HAVE_PLATFORM_EAGL && defined (HAVE_QT_IOS)
platform = GST_GL_PLATFORM_EAGL;