[FFmpeg-devel] [PATCH] configure: improve logic and checks for nvenc

Timo Rothenpieler timo at rothenpieler.org
Wed Aug 31 16:26:45 EEST 2016


> 2016-08-31 15:03 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:
>> Forgot this, the idea with my approach is to handle the case where
>> --enable-nvenc is requested, but the compile-check fails.
> 
>> Just silently disabling it then seems wrong.
> 
> But this is what we do for all auto-detected features except xcb. If changing
> this comes at the price of far more complicated checks, I suggest we keep
> the current logic.

Hm, just silently disabling stuff that's explicitly requested to be
enabled via enable seems broken.
It might also result in builds which show a feature to be enabled in the
configure line they show, while it's actually disabled because of a
failed check/missing library.


More information about the ffmpeg-devel mailing list