From 175ca3f7b0d99ed40cbb49ef4eee1bd58ec52231 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sun, 13 Apr 2014 13:49:22 +1000 Subject: [PATCH] gl/context: output available extensions --- gst-libs/gst/gl/gstglcontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index cc1c6867f0..432d8bd1a4 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -817,12 +817,14 @@ gst_gl_context_create_thread (GstGLContext * context) ext_g_str = _build_extension_string (context); if (ext_g_str && ext_g_str->len) { + GST_DEBUG_OBJECT (context, "GL_EXTENSIONS: %s", ext_g_str->str); _gst_gl_feature_check_ext_functions (context, context->priv->gl_major, context->priv->gl_minor, ext_g_str->str); } else { ext_const_c_str = (const gchar *) gl->GetString (GL_EXTENSIONS); if (!ext_const_c_str) ext_const_c_str = ""; + GST_DEBUG_OBJECT (context, "GL_EXTENSIONS: %s", ext_const_c_str); _gst_gl_feature_check_ext_functions (context, context->priv->gl_major, context->priv->gl_minor, ext_const_c_str); }