From 1c8bf44dea2af3b8bbed3e230479fe5405a5bad6 Mon Sep 17 00:00:00 2001 From: memeka Date: Tue, 26 Jun 2018 12:18:27 +0930 Subject: [PATCH] gl: check for EGL_KHR_platform_gbm for non-MESA gbm implementations https://bugzilla.gnome.org/show_bug.cgi?id=796694 --- gst-libs/gst/gl/egl/gstgldisplay_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/egl/gstgldisplay_egl.c b/gst-libs/gst/gl/egl/gstgldisplay_egl.c index b2265dcf61..fb329ed0d3 100644 --- a/gst-libs/gst/gl/egl/gstgldisplay_egl.c +++ b/gst-libs/gst/gl/egl/gstgldisplay_egl.c @@ -153,7 +153,7 @@ gst_gl_display_egl_get_from_native (GstGLDisplayType type, guintptr display) #if GST_GL_HAVE_WINDOW_GBM if (ret == EGL_NO_DISPLAY && (type & GST_GL_DISPLAY_TYPE_GBM) && (gst_gl_check_extension ("EGL_MESA_platform_gbm", egl_exts) || - gst_gl_check_extension ("EGL_MESA_platform_gbm", egl_exts))) { + gst_gl_check_extension ("EGL_KHR_platform_gbm", egl_exts))) { ret = _gst_eglGetPlatformDisplay (EGL_PLATFORM_GBM_MESA, (gpointer) display, NULL); }