From e6d23eec2ec1d6487e9248251c6e70f7c9dd9cce Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 18 Feb 2004 16:44:51 +0000 Subject: add debug category Original commit message from CVS: add debug category --- ext/gdk_pixbuf/gstgdkpixbuf.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/gdk_pixbuf/gstgdkpixbuf.c b/ext/gdk_pixbuf/gstgdkpixbuf.c index fe40b925..efe2f20b 100644 --- a/ext/gdk_pixbuf/gstgdkpixbuf.c +++ b/ext/gdk_pixbuf/gstgdkpixbuf.c @@ -30,6 +30,9 @@ #include "gstgdkpixbuf.h" +GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug); +#define GST_CAT_DEFAULT gst_gdk_pixbuf_debug + static GstElementDetails plugin_details = { "GdkPixbuf image decoder", "Codec/Decoder/Image", @@ -445,7 +448,9 @@ static gboolean plugin_init (GstPlugin *plugin) { GstCaps *caps; - + + GST_DEBUG_CATEGORY_INIT (gst_gdk_pixbuf_debug, "gdkpixbuf", 0, "gdk pixbuf loader"); + if (!gst_element_register (plugin, "gdkpixbufdec", GST_RANK_NONE, GST_TYPE_GDK_PIXBUF)) return FALSE; -- cgit