diff --git a/gst/debugutils/gstcapsdebug.c b/gst/debugutils/gstcapsdebug.c index 469408c56c..3806bae6a8 100644 --- a/gst/debugutils/gstcapsdebug.c +++ b/gst/debugutils/gstcapsdebug.c @@ -26,6 +26,9 @@ #include #include "gstcapsdebug.h" +GST_DEBUG_CATEGORY_STATIC (gst_caps_debug_debug); +#define GST_CAT_DEFAULT gst_caps_debug_debug + /* prototypes */ @@ -67,7 +70,12 @@ GST_STATIC_PAD_TEMPLATE ("src", /* class initialization */ -GST_BOILERPLATE (GstCapsDebug, gst_caps_debug, GstElement, GST_TYPE_ELEMENT); +#define DEBUG_INIT(bla) \ + GST_DEBUG_CATEGORY_INIT (gst_caps_debug_debug, "capsdebug", 0, \ + "debug category for capsdebug element"); + +GST_BOILERPLATE_FULL (GstCapsDebug, gst_caps_debug, GstElement, + GST_TYPE_ELEMENT, DEBUG_INIT); static void gst_caps_debug_base_init (gpointer g_class)