[ffmpeg] Add avisynthplus support (#11946)

This commit is contained in:
NancyLi1013 2020-06-24 04:40:35 +08:00 committed by GitHub
parent 8714f0d829
commit 5058547304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: ffmpeg
Version: 4.2-10
Version: 4.2-11
Build-Depends: zlib
Homepage: https://ffmpeg.org
Description: a library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.
@ -56,4 +56,8 @@ Description: Libav audio resampling library support in ffmpeg
Feature: nvcodec
Build-Depends: ffnvcodec, cuda
Description: Hardware accelerated codecs
Description: Hardware accelerated codecs
Feature: avisynthplus
Build-Depends: avisynthplus
Description: avisynthplus support in ffmpeg

View File

@ -141,6 +141,12 @@ else()
set(OPTIONS "${OPTIONS} --disable-cuda --disable-nvenc --disable-cuvid --disable-libnpp")
endif()
if("avisynthplus" IN_LIST FEATURES)
set(OPTIONS "${OPTIONS} --enable-avisynth --enable-gpl")
else()
set(OPTIONS "${OPTIONS} --disable-avisynth --disable-gpl")
endif()
set(OPTIONS_CROSS "")
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")