From 92e91ad4848de6f3abfa755829e133181f75af5d Mon Sep 17 00:00:00 2001 From: BtbN Date: Sun, 6 Sep 2020 02:43:52 +0200 Subject: [PATCH] Older ffmpeg needs older srt --- scripts.d/50-srt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts.d/50-srt.sh b/scripts.d/50-srt.sh index a416cfc..403cf57 100755 --- a/scripts.d/50-srt.sh +++ b/scripts.d/50-srt.sh @@ -2,6 +2,7 @@ SRT_REPO="https://github.com/Haivision/srt.git" SRT_COMMIT="a3f28336a8f0c3c1fce7b2f46d017bcb59af1888" +SRT_COMMIT_43="v1.4.0" ffbuild_enabled() { return 0 @@ -13,6 +14,7 @@ ffbuild_dockerstage() { } ffbuild_dockerbuild() { + [[ $VARIANT == *4.3* ]] && SRT_COMMIT="$SRT_COMMIT_43" git-mini-clone "$SRT_REPO" "$SRT_COMMIT" srt cd srt