add debug category

Original commit message from CVS:
add debug category
This commit is contained in:
Thomas Vander Stichele 2004-02-18 16:44:51 +00:00
parent 80cc07ad42
commit e6d23eec2e
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-02-18 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init):
set up debug category
2004-02-18 Julien MOUTTE <julien@moutte.net>
* sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size),

View file

@ -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",
@ -446,6 +449,8 @@ 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;