gstreamer-1.0: use different function name for env hook than gstreamer-0.10

This commit is contained in:
Domen Kožar 2014-04-09 23:04:47 +00:00
parent 5dfc6584a5
commit d912cdf264

View File

@ -1,9 +1,9 @@
addGstreamerLibPath () {
addGstreamer1LibPath () {
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
}
envHooks=(${envHooks[@]} addGstreamerLibPath)
envHooks=(${envHooks[@]} addGstreamer1LibPath)