gstreamer-1.0: use different function name for env hook than gstreamer-0.10
This commit is contained in:
parent
5dfc6584a5
commit
d912cdf264
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user