avformat/hlsenc: Signal http end of chunk(http_shutdown) during hlsenc_io_close()
authorKarthick Jeyapal <kjeyapal@akamai.com>
Mon, 25 Dec 2017 04:08:06 +0000 (12:08 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Mon, 25 Dec 2017 04:08:06 +0000 (12:08 +0800)
commitbe2da4c52221c5ec0769ccea675a896e324d1f41
tree211da453ea4919f29200eac1fcaac16d7100a044
parent6848201f704b5e8e1ebdc911dba94ebc1e52c6b0
avformat/hlsenc: Signal http end of chunk(http_shutdown) during hlsenc_io_close()

Currently http end of chunk is signalled implicitly in hlsenc_io_open().
This mean playlists http writes would have to wait upto a segment duration to signal end of chunk causing delays.
This patch will fix that problem and improve performance.
libavformat/hlsenc.c