mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
19824affa6
commit
3579c1164b
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue