mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ladspa: initialize debug category earlier
You know, before it's used.
This commit is contained in:
parent
8c60e42070
commit
0f53ba8aed
1 changed files with 2 additions and 2 deletions
|
@ -399,6 +399,8 @@ plugin_init (GstPlugin * plugin)
|
||||||
gboolean res = FALSE;
|
gboolean res = FALSE;
|
||||||
gint n = 0;
|
gint n = 0;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa", 0, "LADSPA plugins");
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||||
LOCALEDIR);
|
LOCALEDIR);
|
||||||
|
@ -406,8 +408,6 @@ plugin_init (GstPlugin * plugin)
|
||||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa", 0, "LADSPA plugins");
|
|
||||||
|
|
||||||
gst_plugin_add_dependency_simple (plugin,
|
gst_plugin_add_dependency_simple (plugin,
|
||||||
"LADSPA_PATH",
|
"LADSPA_PATH",
|
||||||
GST_LADSPA_DEFAULT_PATH, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);
|
GST_LADSPA_DEFAULT_PATH, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);
|
||||||
|
|
Loading…
Reference in a new issue