gst/qtdemux/qtdemux.*: Share qtdemux debug category across all files, otherwise all...
authorEdward Hervey <bilboed@bilboed.com>
Wed, 7 Mar 2007 11:37:23 +0000 (11:37 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 7 Mar 2007 11:37:23 +0000 (11:37 +0000)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
* gst/qtdemux/qtdemux.h:
Share qtdemux debug category across all files, otherwise all debugging
in files other than qtdemux.c would end up in the default category.

ChangeLog
gst/qtdemux/qtdemux.c
gst/qtdemux/qtdemux.h

index 83f6c0b..c1f1f37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-07  Edward Hervey  <edward@fluendo.com>
+
+       * gst/qtdemux/qtdemux.c:
+       * gst/qtdemux/qtdemux.h:
+       Share qtdemux debug category across all files, otherwise all debugging
+       in files other than qtdemux.c would end up in the default category.
+
 2007-03-07  Stefan Kost  <ensonic@users.sf.net>
 
        * gst/spectrum/gstspectrum.c: (gst_spectrum_start),
index ba73158..3b527fa 100644 (file)
@@ -64,9 +64,7 @@
 # include <zlib.h>
 #endif
 
-GST_DEBUG_CATEGORY_STATIC (qtdemux_debug);
-#define GST_CAT_DEFAULT qtdemux_debug
-
+GST_DEBUG_CATEGORY (qtdemux_debug);
 
 #if 0
 #define qtdemux_dump_mem(a,b)  gst_util_dump_mem(a,b)
index 4f6afcd..984f26d 100644 (file)
@@ -26,6 +26,9 @@
 
 G_BEGIN_DECLS
 
+GST_DEBUG_CATEGORY_EXTERN (qtdemux_debug);
+#define GST_CAT_DEFAULT qtdemux_debug
+
 #define GST_TYPE_QTDEMUX \
   (gst_qtdemux_get_type())
 #define GST_QTDEMUX(obj) \