mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-11 10:39:42 +00:00
soup: fix soup debug category
Use soup debug category in souploader for soup plugin element load. Inititalize properly soup utils category. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2535>
This commit is contained in:
parent
9fd396834a
commit
c3bb04f779
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
GST_DEBUG_CATEGORY (gst_adaptivedemux_soup_debug);
|
||||
#define GST_CAT_DEFAULT gst_adaptivedemux_soup_debug
|
||||
#else
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_soup_debug);
|
||||
GST_DEBUG_CATEGORY (gst_soup_debug);
|
||||
#define GST_CAT_DEFAULT gst_soup_debug
|
||||
#endif
|
||||
|
||||
|
@ -160,6 +160,8 @@ gst_soup_load_library (void)
|
|||
#ifdef BUILDING_ADAPTIVEDEMUX2
|
||||
GST_DEBUG_CATEGORY_INIT (gst_adaptivedemux_soup_debug, "adaptivedemux2-soup",
|
||||
0, "adaptivedemux2-soup");
|
||||
#else
|
||||
GST_DEBUG_CATEGORY_INIT (gst_soup_debug, "soup", 0, "soup");
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RTLD_NOLOAD
|
||||
|
|
Loading…
Reference in a new issue