[FFmpeg-devel] [PATCH] avformat/http: remove duplicate user-agent option
Clément Bœsch
u at pkh.me
Thu Sep 15 18:42:18 EEST 2016
On Thu, Sep 15, 2016 at 05:39:25PM +0200, Nicolas George wrote:
> Le decadi 30 fructidor, an CCXXIV, Clement Boesch a écrit :
> > Yes, surrounded by the #ifdefery so it will go away with the option.
> >
> > Note: use av_strdup() to transfer from one field to the other
>
> Another possibility would be to implement AV_OPT_FLAG_DEPRECATED and let the
> options system itself print the warning.
>
That's not a bad idea; you might need to add a field to redirect to
the new option though.
--
Clément B.
More information about the ffmpeg-devel
mailing list