2014-04-10 01:04:47 +02:00
|
|
|
addGstreamer1LibPath () {
|
2014-02-28 02:03:07 +01:00
|
|
|
if test -d "$1/lib/gstreamer-1.0"
|
|
|
|
then
|
|
|
|
export GST_PLUGIN_SYSTEM_PATH_1_0="${GST_PLUGIN_SYSTEM_PATH_1_0}${GST_PLUGIN_SYSTEM_PATH_1_0:+:}$1/lib/gstreamer-1.0"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2014-04-10 01:04:47 +02:00
|
|
|
envHooks=(${envHooks[@]} addGstreamer1LibPath)
|
2014-02-28 02:03:07 +01:00
|
|
|
|