mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
gldebug: add a specific category for the debug spam from the driver
This commit is contained in:
parent
95a14fd470
commit
0be9c9f960
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue