diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-08-06 03:19:16 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-08-06 03:19:16 +0200 |
commit | 3579c1164b6420e2aef31028ef09230e3d33925d (patch) | |
tree | 7bb3d1a1a4084616f514af44fbabe4b7aa3083f6 /gst/frei0r | |
parent | 19824affa6d04251b5e056968bc2b03efcbb4dd2 (diff) | |
download | gstreamer-plugins-bad-3579c1164b6420e2aef31028ef09230e3d33925d.tar.gz |
frei0r: Load plugins in /usr/{local/,}lib{32,64}/frei0r-1 too
Loads the plugins in more paths where they could be installed by
multilib distributions.
Fixes #623710
Diffstat (limited to 'gst/frei0r')
-rw-r--r-- | gst/frei0r/gstfrei0r.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gst/frei0r/gstfrei0r.c b/gst/frei0r/gstfrei0r.c index baca1a81a..6d2c6fce4 100644 --- a/gst/frei0r/gstfrei0r.c +++ b/gst/frei0r/gstfrei0r.c @@ -631,7 +631,9 @@ plugin_init (GstPlugin * plugin) gst_plugin_add_dependency_simple (plugin, "HOME/.frei0r-1/lib", - "/usr/lib/frei0r-1:/usr/local/lib/frei0r-1", + "/usr/lib/frei0r-1:/usr/local/lib/frei0r-1:" + "/usr/lib32/frei0r-1:/usr/local/lib32/frei0r-1:" + "/usr/lib64/frei0r-1:/usr/local/lib64/frei0r-1", NULL, GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); homedir = g_get_home_dir (); @@ -641,6 +643,10 @@ plugin_init (GstPlugin * plugin) register_plugins (plugin, "/usr/local/lib/frei0r-1"); register_plugins (plugin, "/usr/lib/frei0r-1"); + register_plugins (plugin, "/usr/local/lib32/frei0r-1"); + register_plugins (plugin, "/usr/lib32/frei0r-1"); + register_plugins (plugin, "/usr/local/lib64/frei0r-1"); + register_plugins (plugin, "/usr/lib64/frei0r-1"); return TRUE; } |