aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorBilly Shambrook <billy.shambrook@saffrondigital.com>2013-10-15 11:53:40 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-10-15 14:57:49 +0200
commit67e507e10e9776c2a16bfa44a285576df30c57ba (patch)
treeb2234e1f614ccf1bef2b24863a1c59de688e0684 /libavformat/segment.c
parent3b9f8e7cd91919721e5d80cc66a2fbbf99171784 (diff)
downloadffmpeg-67e507e10e9776c2a16bfa44a285576df30c57ba.tar.gz
lavf/segment: log segments as they end to AV_LOG_VERBOSE
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c4
1 files changed, 4 insertions, 0 deletions
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);