Older ffmpeg needs older srt

This commit is contained in:
BtbN 2020-09-06 02:43:52 +02:00
parent a9efc7b444
commit 92e91ad484

View file

@ -2,6 +2,7 @@
SRT_REPO="https://github.com/Haivision/srt.git" SRT_REPO="https://github.com/Haivision/srt.git"
SRT_COMMIT="a3f28336a8f0c3c1fce7b2f46d017bcb59af1888" SRT_COMMIT="a3f28336a8f0c3c1fce7b2f46d017bcb59af1888"
SRT_COMMIT_43="v1.4.0"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
@ -13,6 +14,7 @@ ffbuild_dockerstage() {
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
[[ $VARIANT == *4.3* ]] && SRT_COMMIT="$SRT_COMMIT_43"
git-mini-clone "$SRT_REPO" "$SRT_COMMIT" srt git-mini-clone "$SRT_REPO" "$SRT_COMMIT" srt
cd srt cd srt