gl/egl: check the feature in the extensions list
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 16 Nov 2016 12:05:11 +0000 (13:05 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:24 +0000 (19:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=774518

gst-libs/gst/gl/egl/gstglcontext_egl.c

index c46693f..305a3d4 100644 (file)
@@ -832,7 +832,7 @@ gst_gl_context_egl_check_feature (GstGLContext * context, const gchar * feature)
           context_egl->eglDestroyImage != NULL;
   }
 
-  return FALSE;
+  return gst_gl_check_extension (feature, context_egl->egl_exts);
 }
 
 guintptr