summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-03-07 11:37:23 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-03-07 11:37:23 +0000
commitb4447e0c7a465939948fcac760874ef79547ea7e (patch)
tree7a4783bdb458a1a9ca90aeefb93de38e4ac20bcf /gst
parentac4fc0ed0a3415a9ca289719c28a1e38634603d3 (diff)
downloadgst-plugins-bad-b4447e0c7a465939948fcac760874ef79547ea7e.tar.gz
gst-plugins-bad-b4447e0c7a465939948fcac760874ef79547ea7e.tar.bz2
gst-plugins-bad-b4447e0c7a465939948fcac760874ef79547ea7e.zip
gst/qtdemux/qtdemux.*: Share qtdemux debug category across all files, otherwise all debugging in files other than qtd...
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c4
-rw-r--r--gst/qtdemux/qtdemux.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index ba731580..3b527fac 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -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)
diff --git a/gst/qtdemux/qtdemux.h b/gst/qtdemux/qtdemux.h
index 4f6afcdd..984f26dc 100644
--- a/gst/qtdemux/qtdemux.h
+++ b/gst/qtdemux/qtdemux.h
@@ -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) \