gst/aiffparse/aiffparse.c: Fix debugging category initialization.
authorEdward Hervey <bilboed@bilboed.com>
Tue, 14 Oct 2008 15:13:05 +0000 (15:13 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 14 Oct 2008 15:13:05 +0000 (15:13 +0000)
Original commit message from CVS:
* gst/aiffparse/aiffparse.c: (plugin_init):
Fix debugging category initialization.
Fixes #556274

ChangeLog
gst/aiffparse/aiffparse.c

index 815c698..cc84e4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-14  Edward Hervey  <edward.hervey@collabora.co.uk>
+
+       * gst/aiffparse/aiffparse.c: (plugin_init):
+       Fix debugging category initialization.
+       Fixes #556274   
+
 2008-10-14  Jan Schmidt  <jan.schmidt@sun.com>
 
        * ext/apexsink/gstapexsink.c:
index 08f273b..fd269ba 100644 (file)
@@ -102,11 +102,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_STATIC_CAPS (GST_AUDIO_INT_PAD_TEMPLATE_CAPS)
     );
 
-#define DEBUG_INIT(bla) \
-  GST_DEBUG_CATEGORY_INIT (aiffparse_debug, "aiffparse", 0, "AIFF parser");
-
-GST_BOILERPLATE_FULL (AIFFParse, gst_aiffparse, GstElement,
-    GST_TYPE_ELEMENT, DEBUG_INIT);
+GST_BOILERPLATE (AIFFParse, gst_aiffparse, GstElement, GST_TYPE_ELEMENT);
 
 static void
 gst_aiffparse_base_init (gpointer g_class)
@@ -1559,6 +1555,8 @@ gst_aiffparse_change_state (GstElement * element, GstStateChange transition)
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
+  GST_DEBUG_CATEGORY_INIT (aiffparse_debug, "aiffparse", 0, "AIFF parser");
+
 #ifdef ENABLE_NLS
   GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
       LOCALEDIR);