[libav-devel] [PATCH] hls: Save and forward avio options

2015-07-29 Thread Luca Barbato
Make possible to send the custom headers and override the user agent. Reported-by: BenWonder --- Kept a single dictionary and grouped the open functions as Martin suggested. libavformat/hls.c | 91 +++ 1 file changed, 78 insertions(+), 13

Re: [libav-devel] [PATCH] hls: Save and forward avio options

2015-07-29 Thread Luca Barbato
On 29/07/15 21:02, Martin Storsjö wrote: Just passing the options to ffurl_connect might not be enough. Normally, if you do ffurl_open(), you can just pass the options to that function and be done with it. Internally, ffurl_open does ffurl_alloc, then does av_opt_set_dict and finally

Re: [libav-devel] [PATCH] hls: Save and forward avio options

2015-07-29 Thread Martin Storsjö
On Wed, 29 Jul 2015, Luca Barbato wrote: Make possible to send the custom headers and override the user agent. Reported-by: BenWonder --- Kept a single dictionary and grouped the open functions as Martin suggested. libavformat/hls.c | 91