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 "gstsoupelements.h"
|
||||||
#include "gstsouploader.h"
|
#include "gstsouploader.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY (gst_soup_debug);
|
|
||||||
|
|
||||||
#define GST_CAT_DEFAULT gst_soup_debug
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "gstsouputils.h"
|
#include "gstsouputils.h"
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY (soup_utils_debug);
|
GST_DEBUG_CATEGORY (soup_utils_debug);
|
||||||
|
#define GST_CAT_DEFAULT soup_utils_debug
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
soup_element_init (GstPlugin * plugin)
|
soup_element_init (GstPlugin * plugin)
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
GST_DEBUG_CATEGORY (gst_adaptivedemux_soup_debug);
|
GST_DEBUG_CATEGORY (gst_adaptivedemux_soup_debug);
|
||||||
#define GST_CAT_DEFAULT gst_adaptivedemux_soup_debug
|
#define GST_CAT_DEFAULT gst_adaptivedemux_soup_debug
|
||||||
#else
|
#else
|
||||||
GST_DEBUG_CATEGORY_EXTERN (gst_soup_debug);
|
GST_DEBUG_CATEGORY (gst_soup_debug);
|
||||||
#define GST_CAT_DEFAULT gst_soup_debug
|
#define GST_CAT_DEFAULT gst_soup_debug
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -160,6 +160,8 @@ gst_soup_load_library (void)
|
|||||||
#ifdef BUILDING_ADAPTIVEDEMUX2
|
#ifdef BUILDING_ADAPTIVEDEMUX2
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_adaptivedemux_soup_debug, "adaptivedemux2-soup",
|
GST_DEBUG_CATEGORY_INIT (gst_adaptivedemux_soup_debug, "adaptivedemux2-soup",
|
||||||
0, "adaptivedemux2-soup");
|
0, "adaptivedemux2-soup");
|
||||||
|
#else
|
||||||
|
GST_DEBUG_CATEGORY_INIT (gst_soup_debug, "soup", 0, "soup");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_RTLD_NOLOAD
|
#ifdef HAVE_RTLD_NOLOAD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user