summaryrefslogtreecommitdiff
path: root/ext/ladspa
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2013-07-26 13:20:27 -0700
committerDavid Schleef <ds@schleef.org>2013-07-26 13:21:05 -0700
commit0f53ba8aed2dba6ebbdd3ecda676bee1305b9632 (patch)
tree35194a2277e53c31913e22f397d7778a19642e99 /ext/ladspa
parent8c60e420700bc121166c59f991d33cea6cd15205 (diff)
downloadgstreamer-plugins-bad-0f53ba8aed2dba6ebbdd3ecda676bee1305b9632.tar.gz
ladspa: initialize debug category earlier
You know, before it's used.
Diffstat (limited to 'ext/ladspa')
-rw-r--r--ext/ladspa/gstladspa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index 344537baf..02bb1795c 100644
--- a/ext/ladspa/gstladspa.c
+++ b/ext/ladspa/gstladspa.c
@@ -399,6 +399,8 @@ plugin_init (GstPlugin * plugin)
gboolean res = FALSE;
gint n = 0;
+ GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa", 0, "LADSPA plugins");
+
#ifdef ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
LOCALEDIR);
@@ -406,8 +408,6 @@ plugin_init (GstPlugin * plugin)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif
- GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa", 0, "LADSPA plugins");
-
gst_plugin_add_dependency_simple (plugin,
"LADSPA_PATH",
GST_LADSPA_DEFAULT_PATH, NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);