On Tue, 29 Apr 2014, Luca Barbato wrote:
---Again a patch to make the usage the least surprising. start_number controls the image2 filenames. libavformat/hlsenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 4ccf718..7934a90 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -197,9 +197,7 @@ static int hls_write_header(AVFormatContext *s) const char *pattern = "%d.ts"; int basename_size = strlen(s->filename) + strlen(pattern) + 1; - hls->number = 0; - - + hls->number = hls->start_sequence; hls->sequence = hls->start_sequence; hls->recording_time = hls->time * AV_TIME_BASE; hls->start_pts = AV_NOPTS_VALUE; -- 1.9.0
Ok // Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
