summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ext/ladspa/gstladspa.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e7da244cc..18974ef30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * ext/ladspa/gstladspa.c: (plugin_init):
+ Add plugin dependency for the LADSPA plugin directories.
+ Fixes bug #566878.
+
2009-01-06 Jan Schmidt <jan.schmidt@sun.com>
* tests/check/Makefile.am:
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c
index f96646be6..ed742f0dc 100644
--- a/ext/ladspa/gstladspa.c
+++ b/ext/ladspa/gstladspa.c
@@ -620,6 +620,11 @@ plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (ladspa_debug, "ladspa",
GST_DEBUG_FG_GREEN | GST_DEBUG_BG_BLACK | GST_DEBUG_BOLD, "LADSPA");
+ gst_plugin_add_dependency_simple (plugin,
+ "LADSPA_PATH",
+ "/usr/lib/ladspa:/usr/local/lib/ladspa",
+ NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);
+
parent_class = g_type_class_ref (GST_TYPE_SIGNAL_PROCESSOR);
ladspa_plugin = plugin;