From: Timo Rothenpieler Date: Fri, 4 Mar 2016 16:19:45 +0000 (+0100) Subject: configure: NVENC API version 6 is now required X-Git-Tag: android-x86-7.1-r1~6078 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=95a5fd4581c686ea6a7c8eb9188d902bce35d4f9;p=android-x86%2Fexternal-ffmpeg.git configure: NVENC API version 6 is now required --- diff --git a/configure b/configure index 81769ee0f2..9b56a4d4f3 100755 --- a/configure +++ b/configure @@ -5681,8 +5681,8 @@ enabled mmal && enabled netcdf && require_pkg_config netcdf netcdf.h nc_inq_libvers enabled nvenc && { check_header nvEncodeAPI.h || die "ERROR: nvEncodeAPI.h not found."; } && - { check_cpp_condition nvEncodeAPI.h "NVENCAPI_MAJOR_VERSION >= 5" || - die "ERROR: NVENC API version 4 or older is not supported"; } && + { check_cpp_condition nvEncodeAPI.h "NVENCAPI_MAJOR_VERSION >= 6" || + die "ERROR: NVENC API version 5 or older is not supported"; } && { [ $target_os != cygwin ] || die "ERROR: NVENC is not supported on Cygwin currently."; } enabled openal && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32"; do check_lib 'AL/al.h' alGetError "${al_libs}" && break; done } ||