[FFmpeg-devel] [PATCH] configure: rename cuda to ffnvcodec
Timo Rothenpieler
timo at rothenpieler.org
Mon Mar 5 22:33:15 EET 2018
Am 04.03.2018 um 20:15 schrieb Compn:
> On Sat, 3 Mar 2018 22:39:45 +0100, Timo Rothenpieler
> <timo at rothenpieler.org> wrote:
>
>> Right now, if someone configures ffmpeg with for example --enable-nvenc they will
>> get an error message complaining about missing cuda.
>> This is very confusing and already has lead people into installing the CUDA SDK,
>> even though it's not what they need.
>>
>> This will make it complain about ffnvcodec instead.
>
> i'm not objecting.
>
> but if you put a error message that explains what a person needs when
> it errors , that might also be a good idea (and it would also only be
> a one or two line change).
>
> -compn
I looked into doing that, but the code handling those errors in a
generic way would need quite some ugly special cases to do that.
Still, I might look into giving a better error that at some point.
It being called cuda is inaccurate anyway, so renaming it to ffnvcodec
is not too terrible.
So for now, I just pushed this, and will look into a more verbose error
later.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180305/7976fb4b/attachment.bin>
More information about the ffmpeg-devel
mailing list