From 0be9c9f960a23ea8f53f97dd102550b3b78df702 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 8 Jan 2016 18:38:46 +1100 Subject: [PATCH] gldebug: add a specific category for the debug spam from the driver --- gst-libs/gst/gl/gstgldebug.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/gl/gstgldebug.c b/gst-libs/gst/gl/gstgldebug.c index 77bfcd81ad..a228e26ceb 100644 --- a/gst-libs/gst/gl/gstgldebug.c +++ b/gst-libs/gst/gl/gstgldebug.c @@ -82,6 +82,8 @@ #if !defined(GST_DISABLE_GST_DEBUG) GST_DEBUG_CATEGORY_STATIC (gst_performance); +#define GST_CAT_DEFAULT gst_gl_debug +GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); static void _init_debug (void) @@ -90,6 +92,7 @@ _init_debug (void) if (g_once_init_enter (&_init)) { GST_DEBUG_CATEGORY_GET (gst_performance, "GST_PERFORMANCE"); + GST_DEBUG_CATEGORY_INIT (gst_gl_debug, "gldebug", 0, "OpenGL Debugging"); g_once_init_leave (&_init, 1); } }