summaryrefslogtreecommitdiffstats
path: root/ext/wavpack/gstwavpackcommon.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-03-07 12:07:07 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-03-07 12:07:07 +0000
commite38f3766a11a11089d9dced188787e8b08cec30a (patch)
treec17e9446f680e8f349f0cea8777df52d3f9616f7 /ext/wavpack/gstwavpackcommon.c
parent816404ac4167846a959beea145f24fc2622cb983 (diff)
ext/wavpack/: Use a general wavpack debug category for common code.
Original commit message from CVS: * ext/wavpack/gstwavpack.c: (plugin_init): * ext/wavpack/gstwavpackcommon.c: Use a general wavpack debug category for common code. * ext/wavpack/gstwavpackstreamreader.c: (gst_wavpack_stream_reader_set_pos_abs), (gst_wavpack_stream_reader_set_pos_rel), (gst_wavpack_stream_reader_write_bytes): Use the general wavpack debug category here too and add debug output to the functions that should not be called at all by the wavpack library. * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_plugin_init): * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_plugin_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init): Change debugging category names to conform to the conventions.
Diffstat (limited to 'ext/wavpack/gstwavpackcommon.c')
-rw-r--r--ext/wavpack/gstwavpackcommon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpackcommon.c b/ext/wavpack/gstwavpackcommon.c
index 0272fdf0..ad161867 100644
--- a/ext/wavpack/gstwavpackcommon.c
+++ b/ext/wavpack/gstwavpackcommon.c
@@ -28,6 +28,9 @@
#include "gstwavpackcommon.h"
#include <string.h>
+GST_DEBUG_CATEGORY_EXTERN (wavpack_debug);
+#define GST_CAT_DEFAULT wavpack_debug
+
gboolean
gst_wavpack_read_header (WavpackHeader * header, guint8 * buf)
{