mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +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/2547>
This commit is contained in:
parent
eeb8eb0b9d
commit
4361898015
3 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue