diff --git a/subprojects/gst-plugins-good/ext/soup/gstsoup.c b/subprojects/gst-plugins-good/ext/soup/gstsoup.c index eff90eb90f..4d45a4a8a9 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsoup.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsoup.c @@ -22,10 +22,6 @@ #include "gstsoupelements.h" #include "gstsouploader.h" -GST_DEBUG_CATEGORY (gst_soup_debug); - -#define GST_CAT_DEFAULT gst_soup_debug - static gboolean plugin_init (GstPlugin * plugin) { diff --git a/subprojects/gst-plugins-good/ext/soup/gstsoupelement.c b/subprojects/gst-plugins-good/ext/soup/gstsoupelement.c index 4b0739a6f7..95bfaa015a 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsoupelement.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsoupelement.c @@ -24,6 +24,7 @@ #include "gstsouputils.h" GST_DEBUG_CATEGORY (soup_utils_debug); +#define GST_CAT_DEFAULT soup_utils_debug gboolean soup_element_init (GstPlugin * plugin) diff --git a/subprojects/gst-plugins-good/ext/soup/gstsouploader.c b/subprojects/gst-plugins-good/ext/soup/gstsouploader.c index dcd33a6bab..549b81fd25 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouploader.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouploader.c @@ -30,7 +30,7 @@ #endif #endif /* G_OS_WIN32 */ -GST_DEBUG_CATEGORY_EXTERN (gst_soup_debug); +GST_DEBUG_CATEGORY (gst_soup_debug); #define GST_CAT_DEFAULT gst_soup_debug #ifndef STATIC_SOUP @@ -146,6 +146,8 @@ gst_soup_load_library (void) g_assert (g_module_supported ()); + GST_DEBUG_CATEGORY_INIT (gst_soup_debug, "soup", 0, "soup"); + #ifdef HAVE_RTLD_NOLOAD { gpointer handle = NULL;