2014-04-10 00:04:47 +01:00
|
|
|
addGstreamer1LibPath () {
|
2014-02-28 01:03:07 +00: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 00:04:47 +01:00
|
|
|
envHooks=(${envHooks[@]} addGstreamer1LibPath)
|
2014-02-28 01:03:07 +00:00
|
|
|
|