[FFmpeg-devel] [PATCH] libavformat/segment.c: Handle custom HTTP headers
Artyom V. Poptsov
poptsov.artyom at gmail.com
Fri Oct 21 23:54:17 EEST 2016
Hello everybody,
as far as I could see ffmpeg from the 'master' branch doesn't add custom
HTTP headers (specified by means of '-headers' option) to the requests
when 'segment' format is used (checked on August 31st.)
I prepared a patch that allows to use custom headers along with
'segment' format. The patch is based on commit
a13a81a0dc98a35293f3f2603db9b01bf76b6a05 from the 'master' branch.
The changes were tested on x86 and ARM platforms and it seems that it
works quite well.
I'm hoping that the attached patch could be of some use for others as
it's quite common to use some kind of HTTP authentication mechanism
which requires additional headers.
Please let me know if there any problems with the patch; it's my first
contribution to ffmpeg project and I'd love to get any feedback.
Thanks,
- Artyom
--
Artyom V. Poptsov <poptsov.artyom at gmail.com>; GPG Key: 0898A02F
Home page: http://poptsov-artyom.narod.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavformat-segment.c-Handle-custom-HTTP-headers.patch
Type: text/x-diff
Size: 4122 bytes
Desc: The patch.
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161021/f2377e35/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161021/f2377e35/attachment.sig>
More information about the ffmpeg-devel
mailing list