File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ cat <<EOF >"$BUILD_SCRIPT"
3434
3535 git clone --filter=blob:none --branch='$GIT_BRANCH ' '$FFMPEG_REPO ' ffmpeg
3636 cd ffmpeg
37+ patch -p1 < /patches/001-ffmpeg-add-force-cfr-flag.patch
3738
3839 ./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$ FFBUILD_TARGET_FLAGS \$ FF_CONFIGURE \
3940 --extra-cflags="\$ FF_CFLAGS" --extra-cxxflags="\$ FF_CXXFLAGS" --extra-libs="\$ FF_LIBS" \
4647
4748[[ -t 1 ]] && TTY_ARG=" -t" || TTY_ARG=" "
4849
49- docker run --rm -i $TTY_ARG " ${UIDARGS[@]} " -v " $PWD /ffbuild" :/ffbuild -v " $BUILD_SCRIPT " :/build.sh " $IMAGE " bash /build.sh
50+ docker run --rm -i $TTY_ARG " ${UIDARGS[@]} " -v " $PWD /ffbuild" :/ffbuild -v " $BUILD_SCRIPT " :/build.sh -v " $PWD /patches/ffmpeg " :/patches " $IMAGE " bash /build.sh
5051
5152if [[ -n " $FFBUILD_OUTPUT_DIR " ]]; then
5253 mkdir -p " $FFBUILD_OUTPUT_DIR "
You can’t perform that action at this time.
0 commit comments