[FFmpeg-devel] [PATCH] avcodec/allcodecs: add FFMPEG_PREFER_* env vars
James Almer
jamrial at gmail.com
Thu Apr 19 17:34:13 EEST 2018
On 4/19/2018 11:19 AM, Derek Buitenhuis wrote:
> On 4/19/2018 11:40 AM, wm4 wrote:
>> Regarding this patch, personally I don't think using getenv() to
>> configure what is pretty much API semantics is acceptable. But a new
>> API function that restricts what codecs are used based on a string
>> argument might be ok. Then applications could use it to implement
>> codec selection control via environment or command line arguments or
>> something else.
>
> +1 no getenv
We've rejected other patches for this same reason before, so yeah, no
changes that depend on environment variables.
More information about the ffmpeg-devel
mailing list