From 3579c1164b6420e2aef31028ef09230e3d33925d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 6 Aug 2010 03:19:16 +0200 Subject: [PATCH] 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 --- gst/frei0r/gstfrei0r.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gst/frei0r/gstfrei0r.c b/gst/frei0r/gstfrei0r.c index baca1a81ab..6d2c6fce4b 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; }