diff --git a/ChangeLog b/ChangeLog index df041eb7f7..a50603a443 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-18 Thomas Vander Stichele + + * ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): + set up debug category + 2004-02-18 Julien MOUTTE * sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size), diff --git a/ext/gdk_pixbuf/gstgdkpixbuf.c b/ext/gdk_pixbuf/gstgdkpixbuf.c index fe40b925c0..efe2f20b50 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;