[FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

James Almer jamrial at gmail.com
Fri Jan 30 18:40:03 CET 2015

On 30/01/15 1:20 PM, wm4 wrote:
> On Fri, 30 Jan 2015 15:47:07 +0100
> Christophe Gisquet <christophe.gisquet at gmail.com> wrote:
>> Hi,
>> 2015-01-30 14:59 GMT+01:00 Michael Niedermayer <michaelni at gmx.at>:
>>> On Fri, Jan 30, 2015 at 01:09:03PM +0000, Christophe Gisquet wrote:
>>>> The solution requires accessing an lavu internal, which may not be
>>>> a good example for ffmpeg as a library user.
>> [...]
>>> ffmpeg.c as a user application should not use avpriv*
>> Yes, that's what I already stated.
>> But the alternative is deprecated.
>> Does that mean it will never actually be removed? That the message
>> should be completely removed? That the ask_for_sample should be
>> entirely duplicated in ffmpeg.c instead?
> The real answer is that it's not the libraries' business to ask the
> user for samples.

The different components need to flag something as unsupported (with patch welcome 
and request sample return errors), and that can't be done by ffmpeg.c or similar 
API users.

More information about the ffmpeg-devel mailing list