avformat/hlsenc: add option hls_delete_threshold
authorSteven Liu <lq@chinaffmpeg.org>
Fri, 13 Apr 2018 07:39:49 +0000 (15:39 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Fri, 13 Apr 2018 07:39:49 +0000 (15:39 +0800)
commit987026adda79be4bbc541e12c5c6796b43f84bc1
treea72ed8b6d14b17fe33d977f4520a7598fb784d36
parent9e857aa00e1035f25b220f51f46e06148b9ae4f9
avformat/hlsenc: add option hls_delete_threshold

When using hls_list_size with hls_flags delete_segments, currently
hls_list_size * 2 +- segments remain on disk. With this new option,
the amount of disk space used can be controlled by the user.

fix ticket: #7131

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Aman Gupta <aman@tmm1.net>
doc/muxers.texi
libavformat/hlsenc.c