summaryrefslogtreecommitdiffstats
path: root/gst/aiffparse
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-10-14 15:13:05 +0000
committerEdward Hervey <bilboed@bilboed.com>2008-10-14 15:13:05 +0000
commit847dd7016ebba64aeaa5e726a3549117958307df (patch)
tree86f76f78a0191b4571025cfd31d7b519c587449a /gst/aiffparse
parent4dc1e6fb4f97bb9978692db46b9fa7e36f9f72f5 (diff)
downloadgst-plugins-bad-847dd7016ebba64aeaa5e726a3549117958307df.tar.gz
gst-plugins-bad-847dd7016ebba64aeaa5e726a3549117958307df.tar.bz2
gst-plugins-bad-847dd7016ebba64aeaa5e726a3549117958307df.zip
gst/aiffparse/aiffparse.c: Fix debugging category initialization.
Original commit message from CVS: * gst/aiffparse/aiffparse.c: (plugin_init): Fix debugging category initialization. Fixes #556274
Diffstat (limited to 'gst/aiffparse')
-rw-r--r--gst/aiffparse/aiffparse.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c
index 08f273b7..fd269bab 100644
--- a/gst/aiffparse/aiffparse.c
+++ b/gst/aiffparse/aiffparse.c
@@ -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);