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"
|
if test -d "$1/lib/gstreamer-1.0"
|
||||||
then
|
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"
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
envHooks=(${envHooks[@]} addGstreamerLibPath)
|
envHooks=(${envHooks[@]} addGstreamer1LibPath)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user