ivorbisdec: Rename debug category to prevent symbol conflict when using static linking

This commit is contained in:
Sebastian Dröge 2012-10-09 13:07:38 +02:00
parent 3591df23b1
commit 754d0fca25
2 changed files with 7 additions and 2 deletions

View file

@ -23,7 +23,7 @@
#include "gstvorbisdec.h"
GST_DEBUG_CATEGORY (vorbisdec_debug);
GST_DEBUG_CATEGORY (ivorbisdec_debug);
static gboolean
plugin_init (GstPlugin * plugin)
@ -34,7 +34,7 @@ plugin_init (GstPlugin * plugin)
gst_vorbis_dec_get_type ()))
return FALSE;
GST_DEBUG_CATEGORY_INIT (vorbisdec_debug, "ivorbisdec", 0,
GST_DEBUG_CATEGORY_INIT (ivorbisdec_debug, "ivorbisdec", 0,
"vorbis decoding element (integer decoder)");
return TRUE;

View file

@ -47,8 +47,13 @@
#include "gstvorbiscommon.h"
#ifndef TREMOR
GST_DEBUG_CATEGORY_EXTERN (vorbisdec_debug);
#define GST_CAT_DEFAULT vorbisdec_debug
#else
GST_DEBUG_CATEGORY_EXTERN (ivorbisdec_debug);
#define GST_CAT_DEFAULT ivorbisdec_debug
#endif
static GstStaticPadTemplate vorbis_dec_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",