summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-02-18 16:44:51 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-02-18 16:44:51 +0000
commite6d23eec2ec1d6487e9248251c6e70f7c9dd9cce (patch)
tree9930943523d7c677b82866dbfe32bf55d74545f2
parent80cc07ad42cae8a8026ad02b3f17e413feecea53 (diff)
add debug category
Original commit message from CVS: add debug category
-rw-r--r--ChangeLog5
-rw-r--r--ext/gdk_pixbuf/gstgdkpixbuf.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index df041eb7..a50603a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
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;