glprototypes: Add GST_GL_API_OPENGL to available version of sync
authorSeungha Yang <seungha@centricular.com>
Fri, 25 Jun 2021 06:24:21 +0000 (15:24 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 25 Jun 2021 10:30:35 +0000 (10:30 +0000)
Make sync APIs usable if supported, even when GST_GL_API_OPENGL3 is
not selected

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1215>

gst-libs/gst/gl/glprototypes/sync.h

index 284592e..d662047 100644 (file)
@@ -19,7 +19,8 @@
  */
 
 GST_GL_EXT_BEGIN (sync,
-                  GST_GL_API_OPENGL3 | GST_GL_API_GLES2,
+                  GST_GL_API_OPENGL3 | GST_GL_API_OPENGL |
+                  GST_GL_API_GLES2,
                   3, 2,
                   3, 0,
                   "APPLE\0",