Fix err code (#106)

* Fix multy-try errcode
pull/107/head 2.6
Alex 3 years ago committed by GitHub
parent 480300424d
commit cf649af443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
A new version of the wrapper was deployed (v2.5) fixing some issues with hardware transcoding.
You can find the changelog here: https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/releases/tag/2.5
A new version of the wrapper was deployed (v2.6) fixing an issue with offline transcoding.
You can find the changelog here: https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher/releases/tag/2.6
As always, please let me know of any issue you could have.

@ -122,6 +122,7 @@ if [[ $errcode -eq 0 ]]; then
endprocess
fi
errcode=0
info "Trying with VideoStation's ffmpeg with default args..."
/var/packages/VideoStation/target/bin/ffmpeg.orig "$@" <&0 2>> $stderrfile &
child=$!
@ -131,6 +132,7 @@ if [[ $errcode -eq 0 ]]; then
endprocess
fi
errcode=0
info "Trying with SC's ffmpeg and fixed args..."
"/var/packages/${ffmpeg_version}/target/bin/ffmpeg" "${args[@]}" <&0 2>> $stderrfile &
child=$!

Loading…
Cancel
Save