gl: fix undeclared symbol when building without GST_DEBUG

This commit is contained in:
Matthew Waters 2014-03-17 08:10:50 +01:00 committed by Tim-Philipp Müller
parent e51e0a8869
commit d55eb1e859

View file

@ -478,8 +478,10 @@ gst_gl_display_context_prepare (GstElement * element,
GstContext *ctxt;
GstQuery *query;
#ifndef GST_DISABLE_GST_DEBUG
if (!GST_CAT_CONTEXT)
GST_DEBUG_CATEGORY_GET (GST_CAT_CONTEXT, "GST_CONTEXT");
#endif
query =
_gst_gl_display_context_query (element, display_ptr,