[FFmpeg-devel] [PATCH 1/2] configure: fix nvenc detection logic

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Aug 31 17:58:34 EEST 2016


Hi!

2016-08-31 16:42 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:

> +if enabled x86; then
> +    case $target_os in
> +        mingw32*|mingw64*|win32|win64|linux|cygwin*)
> +            ;;
> +        *)
> +            disable nvenc
> +            ;;
> +    esac
> +else
> +    disable nvenc
>  fi

> +enabled nvenc &&
> +    check_cc -I$source_path <<EOF || disable nvenc

Why is the complicated part above still necessary with
this check?

Carl Eugen


More information about the ffmpeg-devel mailing list