ivorbisdec: Rename debug category to prevent symbol conflict when using static linking
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 9 Oct 2012 11:07:38 +0000 (13:07 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 9 Oct 2012 11:10:38 +0000 (13:10 +0200)
ext/vorbis/gstivorbisdec.c
ext/vorbis/gstvorbisdec.c

index bcb864d..095a06e 100644 (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;
index 7cdf623..ac0632f 100644 (file)
 
 #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",