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); }