Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix hlsenc bug at windows system

2017-01-12 Thread wm4
On Fri, 13 Jan 2017 08:00:34 +0800 Steven Liu wrote: > 2017-01-13 0:55 GMT+08:00 Steven Liu : > > > when hlsenc use flag second_level_segment_index, > > second_level_segment_size and second_level_segment_duration, > > the rename is ok but the output filename always use the old filename > > so mo

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix hlsenc bug at windows system

2017-01-12 Thread Steven Liu
2017-01-13 0:55 GMT+08:00 Steven Liu : > when hlsenc use flag second_level_segment_index, > second_level_segment_size and second_level_segment_duration, > the rename is ok but the output filename always use the old filename > so move the rename operation after the close the ts file and > before op

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix hlsenc bug at windows system

2017-01-12 Thread Steven Liu
when hlsenc use flag second_level_segment_index, second_level_segment_size and second_level_segment_duration, the rename is ok but the output filename always use the old filename so move the rename operation after the close the ts file and before open new segment Reported-by: Christian Johannesen