[FFmpeg-devel] [PATCH] Maintain HTTP options across multiple requests in HLS demuxer

Micah Galizia micahgalizia at gmail.com
Fri Dec 21 04:17:16 CET 2012


I emailed yesterday about the HLS demuxer not setting HTTP options, such as
"user-agent" or "headers", after the first playlist request. Nobody
responded, so here is a patch.

I think the most intrusive aspect of this change is the addition of an
AVDictionary pointer to the AVFormatContext to store the initial options.
The rest of the changes are confined to hls.c.

I've run this against `make fate` and there were no errors and all that
came from patcheck were innocuous messages.

Thanks in advance for the review.

"The mark of an immature man is that he wants to die nobly for a cause,
while the mark of the mature man is that he wants to live humbly for
one."   --W. Stekel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hls_http_options1.patch
Type: application/octet-stream
Size: 4726 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121220/6ed3b496/attachment.obj>

More information about the ffmpeg-devel mailing list