Re: [FFmpeg-devel] [PATCH] avformat/hls: don't propagate deprecated "user-agent" AVOption

2018-05-04 Thread wm4
On Sun, 29 Apr 2018 14:23:17 +0200 Clément Bœsch wrote: > On Sat, Apr 28, 2018 at 08:37:06PM +0200, wm4 wrote: > > This code will print a warning if any user agent is set - even if the > > API user used the proper non-deprecated "user_agent" option. > > > > This change should not

Re: [FFmpeg-devel] [PATCH] avformat/hls: don't propagate deprecated "user-agent" AVOption

2018-04-29 Thread Clément Bœsch
On Sat, Apr 28, 2018 at 08:37:06PM +0200, wm4 wrote: > This code will print a warning if any user agent is set - even if the > API user used the proper non-deprecated "user_agent" option. > > This change should not even break anything, because even if the user > sets the deprecated "user-agent"

[FFmpeg-devel] [PATCH] avformat/hls: don't propagate deprecated "user-agent" AVOption

2018-04-28 Thread wm4
This code will print a warning if any user agent is set - even if the API user used the proper non-deprecated "user_agent" option. This change should not even break anything, because even if the user sets the deprecated "user-agent" option, http.c copies it to the "user_agent" option anyway. ---