On Mon, 11 May 2015 13:17:16 +0200
Nicolas George <geo...@nsup.org> wrote:

> Le duodi 22 floréal, an CCXXIII, James Almer a écrit :
> > If this is meant to solve the whole debate from the "Tell users about
> > -use_absolute_path" thread, then i think it's a bit overkill. "Set
> > <AVOption> to <value>" is generic enough that works in any situation, be
> > it for API user or ffmpeg.c, and could be used in every av_log message.
> 
> I concur. Also, note that the object that requires the option is given as
> context to the log callback, therefore it is possible to know,
> programatically, if the option is needed for a muxer, demuxer, decoder,
> protocol, etc.

This doesn't work because the log callback is process-global. There may
be multiple independent ffmpeg users in the same process.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to