From eebf033c213dd5c2ab4d78a1c55d8ab168da9855 Mon Sep 17 00:00:00 2001 From: tonychan Date: Wed, 13 Jul 2022 15:43:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ios&android=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/script/build_ijk_ios.sh | 2 ++ config/module-lite.sh | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/script/build_ijk_ios.sh b/.github/script/build_ijk_ios.sh index 838a9b6f..330af51a 100755 --- a/.github/script/build_ijk_ios.sh +++ b/.github/script/build_ijk_ios.sh @@ -9,6 +9,8 @@ currtag=$(git describe --tags `git rev-list --tags --max-count=1`) currbra=$rb echo 000---$currtag +sed -i "" "s/.*disable-videotoolbox.*/export COMMON_FF_CFG_FLAGS=\"\$\COMMON_FF_CFG_FLAGS --enable-videotoolbox\"/g" ./config/module-lite.sh + ./init-ios.sh ./init-ios-openssl.sh diff --git a/config/module-lite.sh b/config/module-lite.sh index bae47d4e..0b413ef5 100755 --- a/config/module-lite.sh +++ b/config/module-lite.sh @@ -60,7 +60,6 @@ export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-dxva2" export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-vaapi" #export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-vda" export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-vdpau" -export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-videotoolbox" # Individual component options: # export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-everything" @@ -166,7 +165,7 @@ export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-filters" # External library support: export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-iconv" export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-audiotoolbox" -# export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-videotoolbox" +export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-videotoolbox" # ...