[FFmpeg-devel] [PATCH] avformat/http: remove duplicate user-agent option

Steven Liu lingjiujianke at gmail.com
Thu Sep 15 18:27:02 EEST 2016

2016-09-15 23:03 GMT+08:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:

> 2016-09-15 16:40 GMT+02:00 Clément Bœsch <u at pkh.me>:
> >> Carl Eugen's mean is apply this patch after the next release?
> >
> > You need to deprecate the option with at least the classic #ifdefery
> dance
> > (git grep FF_API for examples), and ideally by also printing a warning
> > when using the wrong option.
> Imo, it is completely sufficient to add a line to the filter documentation
> (and print a warning if this is easily possible).
> Carl Eugen
user_agent and user-agent use the same variable 'user_agent', if print a
warning, maybe add a user variable for  user_agent option is a good way?

More information about the ffmpeg-devel mailing list