Hi!

Attached patch allows to also print the log level for level trace.

Please comment, Carl Eugen
From 762b66a07448529564a94c1103f07790f7476c08 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Mon, 16 Dec 2019 13:08:40 +0100
Subject: [PATCH] lavu/log: Also print the log level for level trace.

---
 libavutil/log.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/log.c b/libavutil/log.c
index 93a156b8e4..e8a0db7716 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -226,6 +226,8 @@ static const char *get_level_str(int level)
         return "quiet";
     case AV_LOG_DEBUG:
         return "debug";
+    case AV_LOG_TRACE:
+        return "trace";
     case AV_LOG_VERBOSE:
         return "verbose";
     case AV_LOG_INFO:
-- 
2.23.0

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

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to