diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-18 16:44:51 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-18 16:44:51 +0000 |
commit | e6d23eec2ec1d6487e9248251c6e70f7c9dd9cce (patch) | |
tree | 9930943523d7c677b82866dbfe32bf55d74545f2 /ext/gdk_pixbuf | |
parent | 80cc07ad42cae8a8026ad02b3f17e413feecea53 (diff) |
add debug category
Original commit message from CVS:
add debug category
Diffstat (limited to 'ext/gdk_pixbuf')
-rw-r--r-- | ext/gdk_pixbuf/gstgdkpixbuf.c | 7 |
1 files changed, 6 insertions, 1 deletions
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; |