From aaa7cfc9fcd4443e72947048ee225be69dc7444c Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 17 Mar 2014 08:10:50 +0100 Subject: [PATCH] gl: fix undeclared symbol when building without GST_DEBUG --- gst-libs/gst/gl/gstglutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c index 5ffe4c4a3a..e3d129c7a7 100644 --- a/gst-libs/gst/gl/gstglutils.c +++ b/gst-libs/gst/gl/gstglutils.c @@ -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,