[FFmpeg-devel] [PATCH] lavr: deprecate the entire library

Tobias Rapp t.rapp at noa-archive.com
Mon Nov 27 10:43:22 EET 2017


On 25.11.2017 18:31, Derek Buitenhuis wrote:
> On 11/25/2017 2:40 PM, Clément Bœsch wrote:
>> Maybe "libavresample is not maintained by the FFmpeg project and will be
>> dropped at the next major bump. Please use libswresample instead."
>>
>> And it probably needs a longer explanation somewhere (website/news/...)
> 
> All API functions should be properly marked as deprecated in the headers.
> 
> Relying on a stderr warning to help migrate API users is silly, who is
> going to be watching stderr using a /library/?

+1

Please avoid the AVStream.codec -> AVStream.codecpar scenario. I don't 
remember how often I was asked by users looking at the logs how they can 
avoid the "Using AVStream.codec to pass codec parameters to muxers is 
deprecated, use AVStream.codecpar instead" warning.

Regards,
Tobias



More information about the ffmpeg-devel mailing list