gstreamer: GST_PLUGIN_SYSTEM_PATH.* may be undefined
This commit is contained in:
parent
12a85a7046
commit
908b143e51
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
addGstreamer1LibPath () {
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
addGstreamerLibPath () {
|
addGstreamerLibPath () {
|
||||||
if test -d "$1/lib/gstreamer-0.10"
|
if test -d "$1/lib/gstreamer-0.10"
|
||||||
then
|
then
|
||||||
export GST_PLUGIN_SYSTEM_PATH="${GST_PLUGIN_SYSTEM_PATH}${GST_PLUGIN_SYSTEM_PATH:+:}$1/lib/gstreamer-0.10"
|
export GST_PLUGIN_SYSTEM_PATH="${GST_PLUGIN_SYSTEM_PATH-}${GST_PLUGIN_SYSTEM_PATH:+:}$1/lib/gstreamer-0.10"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue