[FFmpeg-devel] [PATCH 1/4] avutil: add av_format_option_for_user() callback system

Nicolas George george at nsup.org
Mon May 11 13:17:16 CEST 2015

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.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150511/1361dc2d/attachment.asc>

More information about the ffmpeg-devel mailing list