]> git.sesse.net Git - ffmpeg/commit
libavformat/http: add support for content_type option in listen mode
authorMoritz Barsnick <barsnick@gmx.net>
Wed, 10 Aug 2016 19:18:00 +0000 (21:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Aug 2016 08:44:38 +0000 (10:44 +0200)
commitd14993478cd9d6274f439f3200ea11c63ff8e0fa
tree17cb0127758030906c8e404b1780cb30be6951f4
parentec4ed2f69c240b901ef1491c752ed425cd7e9618
libavformat/http: add support for content_type option in listen mode

Instead of silently ignoring the content_type option in listen mode,
apply its value to the provided "Content-Type:" header.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/protocols.texi
libavformat/http.c