mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
soup: Initialize debug category before use
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1536>
This commit is contained in:
parent
d764b6c4f2
commit
a44a1bf193
1 changed files with 1 additions and 1 deletions
|
@ -31,6 +31,7 @@ soup_element_init (GstPlugin * plugin)
|
|||
static gsize res = FALSE;
|
||||
|
||||
if (g_once_init_enter (&res)) {
|
||||
GST_DEBUG_CATEGORY_INIT (soup_utils_debug, "souputils", 0, "Soup utils");
|
||||
#ifdef ENABLE_NLS
|
||||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||
LOCALEDIR);
|
||||
|
@ -53,6 +54,5 @@ soup_element_init (GstPlugin * plugin)
|
|||
g_type_ensure (G_TYPE_TLS_INTERACTION);
|
||||
|
||||
g_once_init_leave (&res, TRUE);
|
||||
GST_DEBUG_CATEGORY_INIT (soup_utils_debug, "souputils", 0, "Soup utils");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue