[FFmpeg-cvslog] lavf/segment: log segments as they end to AV_LOG_VERBOSE

Billy Shambrook git at videolan.org
Tue Oct 15 14:59:21 CEST 2013


ffmpeg | branch: master | Billy Shambrook <billy.shambrook at saffrondigital.com> | Tue Oct 15 11:53:40 2013 +0100| [67e507e10e9776c2a16bfa44a285576df30c57ba] | committer: Stefano Sabatini

lavf/segment: log segments as they end to AV_LOG_VERBOSE

Signed-off-by: Stefano Sabatini <stefasab at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=67e507e10e9776c2a16bfa44a285576df30c57ba
---

 libavformat/segment.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 2d42fe3..f0225dd 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);
 



More information about the ffmpeg-cvslog mailing list