From 67e507e10e9776c2a16bfa44a285576df30c57ba Mon Sep 17 00:00:00 2001 From: Billy Shambrook Date: Tue, 15 Oct 2013 11:53:40 +0100 Subject: [PATCH] lavf/segment: log segments as they end to AV_LOG_VERBOSE Signed-off-by: Stefano Sabatini --- libavformat/segment.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/segment.c b/libavformat/segment.c index 2d42fe352b..f0225ddc24 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -319,6 +319,10 @@ static int segment_end(AVFormatContext *s, int write_trailer, int is_last) avio_flush(seg->list_pb); } + av_log(s, AV_LOG_VERBOSE, "segment:'%s' count:%d ended\n", + seg->avf->filename, seg->segment_count); + seg->segment_count++; + end: avio_close(oc->pb);