summaryrefslogtreecommitdiffstats
path: root/ext/wavpack/gstwavpack.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
commit49e29a2716904ce50c1db8b561801f2b87378821 (patch)
tree3b3584490ee7137e67c4e1cd75c8c40f4b50bd91 /ext/wavpack/gstwavpack.c
parentb4447e0c7a465939948fcac760874ef79547ea7e (diff)
downloadgst-plugins-bad-49e29a2716904ce50c1db8b561801f2b87378821.tar.gz
gst-plugins-bad-49e29a2716904ce50c1db8b561801f2b87378821.tar.bz2
gst-plugins-bad-49e29a2716904ce50c1db8b561801f2b87378821.zip
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/gstwavpack.c')
-rw-r--r--ext/wavpack/gstwavpack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpack.c b/ext/wavpack/gstwavpack.c
index 912b583a..ddd3f2a2 100644
--- a/ext/wavpack/gstwavpack.c
+++ b/ext/wavpack/gstwavpack.c
@@ -27,9 +27,13 @@
#include "gstwavpackdec.h"
#include "gstwavpackenc.h"
+/* debug category for common code */
+GST_DEBUG_CATEGORY (wavpack_debug);
+
static gboolean
plugin_init (GstPlugin * plugin)
{
+ GST_DEBUG_CATEGORY_INIT (wavpack_debug, "wavpack", 0, "Wavpack elements");
return (gst_wavpack_parse_plugin_init (plugin)
&& gst_wavpack_dec_plugin_init (plugin)
&& gst_wavpack_enc_plugin_init (plugin));