mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Fix bug where debug category was declared inside a function
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676670
This commit is contained in:
parent
38a2fe673e
commit
6c2aea9551
1 changed files with 3 additions and 1 deletions
|
@ -58,6 +58,9 @@
|
|||
|
||||
GST_DEBUG_CATEGORY (audio_resample_debug);
|
||||
#define GST_CAT_DEFAULT audio_resample_debug
|
||||
#if !defined(AUDIORESAMPLE_FORMAT_AUTO) || defined(DISABLE_ORC)
|
||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE);
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -1429,7 +1432,6 @@ plugin_init (GstPlugin * plugin)
|
|||
#else
|
||||
GST_WARNING ("Orc disabled, can't benchmark int vs. float resampler");
|
||||
{
|
||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE);
|
||||
GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE");
|
||||
GST_CAT_WARNING (GST_CAT_PERFORMANCE, "orc disabled, no benchmarking done");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue