Hi!

Attached patch makes debugging a little easier (ticket #7257, could
somebody who knows the concat demuxer confirm that this is unavoidable
- or isn't it? 33854 seeks with concat and five seeks with original
file input, four seeks after remuxing the input file, no matter if
file or concat input).

Please comment, Carl Eugen
From c36af7c223faf8195999efa1649bda71e777a85b Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Thu, 14 Jun 2018 11:21:31 +0200
Subject: [PATCH] lavf/aviobuf: Increase Statistics verbosity to
 AV_LOG_VERBOSE.

---
 libavformat/aviobuf.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index e752d0e..5a33f82 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -1202,9 +1202,9 @@ int avio_close(AVIOContext *s)
     av_freep(&s->opaque);
     av_freep(&s->buffer);
     if (s->write_flag)
-        av_log(s, AV_LOG_DEBUG, "Statistics: %d seeks, %d writeouts\n", s->seek_count, s->writeout_count);
+        av_log(s, AV_LOG_VERBOSE, "Statistics: %d seeks, %d writeouts\n", s->seek_count, s->writeout_count);
     else
-        av_log(s, AV_LOG_DEBUG, "Statistics: %"PRId64" bytes read, %d seeks\n", s->bytes_read, s->seek_count);
+        av_log(s, AV_LOG_VERBOSE, "Statistics: %"PRId64" bytes read, %d seeks\n", s->bytes_read, s->seek_count);
     av_opt_free(s);
 
     avio_context_free(&s);
-- 
1.7.10.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to