capsdebug: Add capdebug debug category

This commit is contained in:
David Schleef 2011-01-05 17:49:16 -08:00
parent 97d74f293c
commit 088ae75681

View file

@ -26,6 +26,9 @@
#include <gst/gst.h>
#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)