The offset of a playlist segment into a fragmented MP4 file was being ignored when using support for persistent HTTP connections. To allow passing of the segment offsets a new ff_http_do_new_request2() method is introduced.
vectronic (2): avformat/http: add ff_http_do_new_request2() which supports options to be applied to HTTPContext after initialisation with the new uri avformat/hls: pass http offset options to http request made with persistent connections to prevent incorrect reset of offset when demuxing HLS+FMP4 libavformat/hls.c | 8 ++++---- libavformat/http.c | 8 +++++++- libavformat/http.h | 13 +++++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) -- 2.21.0 (Apple Git-122) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".