diff mbox

[FFmpeg-devel] lavf/aviobuf: Raise Statistics verbosity to VERBOSE.

Message ID CAB0OVGrGTzecS5XFpT+QuQvF05+hUSg=SeqZkOm5yJx2Es0j5Q@mail.gmail.com
State Accepted
Headers show

Commit Message

Carl Eugen Hoyos June 14, 2018, 9:33 a.m. UTC
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

Comments

Carl Eugen Hoyos June 16, 2018, 12:39 a.m. UTC | #1
2018-06-14 11:33 GMT+02:00, Carl Eugen Hoyos <ceffmpeg@gmail.com>:

> Attached patch makes debugging a little easier

Patch applied.

> (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).

Comments still welcome.

Carl Eugen
diff mbox

Patch

From c36af7c223faf8195999efa1649bda71e777a85b Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffmpeg@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