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
This commit is contained in:
Olivier Crête 2010-08-06 03:19:16 +02:00
parent 19824affa6
commit 3579c1164b

View file

@ -631,7 +631,9 @@ plugin_init (GstPlugin * plugin)
gst_plugin_add_dependency_simple (plugin, gst_plugin_add_dependency_simple (plugin,
"HOME/.frei0r-1/lib", "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); NULL, GST_PLUGIN_DEPENDENCY_FLAG_RECURSE);
homedir = g_get_home_dir (); 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/local/lib/frei0r-1");
register_plugins (plugin, "/usr/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; return TRUE;
} }