mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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 "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)
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 */
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
#ifndef STATIC_SOUP
|
#ifndef STATIC_SOUP
|
||||||
|
@ -146,6 +146,8 @@ gst_soup_load_library (void)
|
||||||
|
|
||||||
g_assert (g_module_supported ());
|
g_assert (g_module_supported ());
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (gst_soup_debug, "soup", 0, "soup");
|
||||||
|
|
||||||
#ifdef HAVE_RTLD_NOLOAD
|
#ifdef HAVE_RTLD_NOLOAD
|
||||||
{
|
{
|
||||||
gpointer handle = NULL;
|
gpointer handle = NULL;
|
||||||
|
|
Loading…
Reference in a new issue