[FFmpeg-devel] [PATCH] libavformat/segment: change segment_list_size behavior to match hls_list_size behavior.

Simon Thelen ffmpeg-dev at c-14.de
Wed Jul 9 21:54:05 CEST 2014


On 09/07/14 at 21:40, Simon Thelen wrote:
> 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.
What I forgot to mention was that 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. I can add that to the commit
message if you want.

-- 
Simon Thelen


More information about the ffmpeg-devel mailing list