Merge branch 'master' into rtd1296-ds6.2.4
This commit is contained in:
commit
a5591c0aa4
@ -30,6 +30,7 @@ function handle_error() {
|
||||
function endprocess() {
|
||||
info "========================================[end ffmpeg $pid]"
|
||||
newline
|
||||
kill -TERM "$child" 2>/dev/null
|
||||
# rm -f "$stderrfile"
|
||||
exit 1
|
||||
}
|
||||
@ -45,6 +46,7 @@ newline
|
||||
info "========================================[start ffmpeg $pid]"
|
||||
info "DEFAULT_ARGS: $*"
|
||||
|
||||
/var/packages/ffmpeg/target/bin/ffmpeg "$@" 2> $stderrfile
|
||||
/var/packages/ffmpeg/target/bin/ffmpeg "$@" 2> $stderrfile &
|
||||
|
||||
endprocess
|
||||
child=$!
|
||||
wait "$child"
|
||||
|
@ -30,6 +30,7 @@ function handle_error() {
|
||||
function endprocess() {
|
||||
info "========================================[end gst-launch $pid]"
|
||||
newline
|
||||
kill -TERM "$child" 2>/dev/null
|
||||
# rm -f "$stderrfile"
|
||||
exit 1
|
||||
}
|
||||
@ -48,5 +49,7 @@ info "DEFAULT_ARGS: $*"
|
||||
export LD_LIBRARY_PATH=/var/packages/VideoStation/target/lib/patch/lib/
|
||||
export GST_PLUGIN_PATH=/var/packages/VideoStation/target/lib/patch/plugins/
|
||||
|
||||
/var/packages/VideoStation/target/bin/gst-launch-1.0.orig "$@" 2>> $stderrfile
|
||||
/var/packages/VideoStation/target/bin/gst-launch-1.0.orig "$@" 2> $stderrfile &
|
||||
|
||||
child=$!
|
||||
wait "$child"
|
||||
|
Loading…
x
Reference in New Issue
Block a user