diff options
author | Simon Thelen <ffmpeg-dev@c-14.de> | 2014-07-09 23:40:43 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-17 04:35:56 +0400 |
commit | fa6716c66d31385a0f306c2a3f46f44e0d928ff9 (patch) | |
tree | 78bea0011327e0bf09a15db671670b6f2d6ccfcc /doc/muxers.texi | |
parent | 37a0ac1d8227a6612024e6d177c76b392ce59840 (diff) |
libavformat/segment: change segment_list_size behavior to match hls_list_size behavior.
Make the segment muxer keep segment_list_size segments instead of
segment_list_size + 1 segments. This patch also changes the
documentation for segment_list_size to reduce possible confusion over
how many segments are kept.
this allows the segment list to
be limited to containing only one segment which used to be impossible
because a segment_list_size of 0 kept all the segments and a
segment_list_size of 1 kept 2 segments.
Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r-- | doc/muxers.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 55e06a3437..2de6a4ee92 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -822,7 +822,7 @@ Select the listing format. @end table @item segment_list_size @var{size} -Update the list file so that it contains at most the last @var{size} +Update the list file so that it contains at most @var{size} segments. If 0 the list file will contain all the segments. Default value is 0. |