From d96ebc5ef88024869de06bcf92b2ad99b01d47e3 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Sat, 11 Feb 2017 12:32:31 +0800 Subject: avformat/hlsenc: deprecate hls_wrap option When user use the hls_wrap, there have many problem: 1. some platform refersh the old but usefull segment 2. CDN(Content Delivery Network) Deliver HLS not friendly The hls_wrap is used to wrap segments for use little space, now user can use hls_list_size and hls_flags delete_segments instead it. Reviewed-by: Michael Niedermayer Reviewed-by: Carl Eugen Hoyos Signed-off-by: Steven Liu --- doc/muxers.texi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/muxers.texi') diff --git a/doc/muxers.texi b/doc/muxers.texi index 6a9505e8ec..4b4dcb2936 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -442,9 +442,8 @@ parameters. Values containing @code{:} special characters must be escaped. @item hls_wrap @var{wrap} -Set the number after which the segment filename number (the number -specified in each segment file) wraps. If set to 0 the number will be -never wrapped. Default value is 0. +This is a deprecated option, you can use @code {hls_list_size} +and @code{hls_flags delete_segments} instead it This option is useful to avoid to fill the disk with many segment files, and limits the maximum number of segment files written to disk -- cgit v1.2.3