Skip to content

Commit

Permalink
优化ios&android编译选项
Browse files Browse the repository at this point in the history
  • Loading branch information
tonychanchen committed Jul 13, 2022
1 parent 526ef83 commit eebf033
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/script/build_ijk_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions config/module-lite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"

# ...

Expand Down

0 comments on commit eebf033

Please sign in to comment.