[FFmpeg-devel] [PATCH] avformat/hls: propagate icy to child AVIOContexts
Marvin Scholz
epirat07 at gmail.com
Tue Dec 17 02:17:42 EET 2019
When the user decides they do not want to to send the Icy-MetaData
header, this should be respected for all requests, not just the first
one.
Fix #5578
---
libavformat/hls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 21353bbad7..4b1bb964ae 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1663,7 +1663,7 @@ static int save_avio_options(AVFormatContext *s)
{
HLSContext *c = s->priv_data;
static const char * const opts[] = {
- "headers", "http_proxy", "user_agent", "cookies", "referer", "rw_timeout", NULL };
+ "headers", "http_proxy", "user_agent", "cookies", "referer", "rw_timeout", "icy", NULL };
const char * const * opt = opts;
uint8_t *buf;
int ret = 0;
--
2.20.1 (Apple Git-117)
More information about the ffmpeg-devel
mailing list