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)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 16 Nov 2016 18:52:54 +0000 (19:52 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=774518

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

index c46693fe7e0ce820b1616caea4d64d52023cbb67..305a3d46b19c5ec97048c2cfa239f85633dda6c1 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