On Thu, Apr 19, 2018 at 12:40 PM, wm4 <nfx...@googlemail.com> 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.
>
>

I agree with no getenv, handling env variables in a library is an iffy concept.

A new API  for that seems pretty weird as well, considering we already
have functions to select codecs by name, which can be easily used for
this purpose - the same way ffmpeg.c for example implements this.
And if you need code changes anyway, might as well do it the way its intended.

- Hendrik
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to