mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
ivorbisdec: Rename debug category to prevent symbol conflict when using static linking
This commit is contained in:
parent
3591df23b1
commit
754d0fca25
2 changed files with 7 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include "gstvorbisdec.h"
|
#include "gstvorbisdec.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY (vorbisdec_debug);
|
GST_DEBUG_CATEGORY (ivorbisdec_debug);
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
|
@ -34,7 +34,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
gst_vorbis_dec_get_type ()))
|
gst_vorbis_dec_get_type ()))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (vorbisdec_debug, "ivorbisdec", 0,
|
GST_DEBUG_CATEGORY_INIT (ivorbisdec_debug, "ivorbisdec", 0,
|
||||||
"vorbis decoding element (integer decoder)");
|
"vorbis decoding element (integer decoder)");
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -47,8 +47,13 @@
|
||||||
|
|
||||||
#include "gstvorbiscommon.h"
|
#include "gstvorbiscommon.h"
|
||||||
|
|
||||||
|
#ifndef TREMOR
|
||||||
GST_DEBUG_CATEGORY_EXTERN (vorbisdec_debug);
|
GST_DEBUG_CATEGORY_EXTERN (vorbisdec_debug);
|
||||||
#define GST_CAT_DEFAULT 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 =
|
static GstStaticPadTemplate vorbis_dec_src_factory =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
|
|
Loading…
Reference in a new issue