diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2009-01-08 09:40:22 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2009-01-08 09:40:22 +0000 |
commit | acd634eafa71e5688ba707962612357470f6c97c (patch) | |
tree | 6eb32fea88dcb3655042e58dc87c3493a6db254c /ext/ladspa | |
parent | 51af87f4121e35006c670f095393df7c3bb6f2f2 (diff) | |
download | gst-plugins-bad-acd634eafa71e5688ba707962612357470f6c97c.tar.gz gst-plugins-bad-acd634eafa71e5688ba707962612357470f6c97c.tar.bz2 gst-plugins-bad-acd634eafa71e5688ba707962612357470f6c97c.zip |
ext/ladspa/gstladspa.c: Add plugin dependency for the LADSPA plugin directories.
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (plugin_init):
Add plugin dependency for the LADSPA plugin directories.
Fixes bug #566878.
Diffstat (limited to 'ext/ladspa')
-rw-r--r-- | ext/ladspa/gstladspa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index f96646be..ed742f0d 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; |