diff options
author | Marvin Scholz <epirat07@gmail.com> | 2019-12-17 01:17:42 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-27 14:57:25 -0300 |
commit | c3bb6efef285adb8ca06278df15473f3c4d5aec5 (patch) | |
tree | a3b0f4660c9a1e5cf5fd3c1407a8607b0027451d /libavformat/hls.c | |
parent | 93671d675597e685215a9ade4ddf7b00271f5767 (diff) |
avformat/hls: propagate icy to child AVIOContexts
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
Reviewed-by: Liu Steven <lq@chinaffmpeg.org>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index f60396f246..538af0dbf8 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; |