diff mbox series

[FFmpeg-devel] avutil/tx: use a lower log level for the debug messages

Message ID 20221107171727.1571-1-jamrial@gmail.com
State Accepted
Commit d5c7970a272d23d4816f60cf89069b6a6e3b83ac
Headers show
Series [FFmpeg-devel] avutil/tx: use a lower log level for the debug messages | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer Nov. 7, 2022, 5:17 p.m. UTC
The amount of lines printed is too high for the verbose level, and the debug
level is a better fit for their content.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavutil/tx.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/libavutil/tx.c b/libavutil/tx.c
index 0c16ecffc3..556fcbb94b 100644
--- a/libavutil/tx.c
+++ b/libavutil/tx.c
@@ -368,7 +368,7 @@  static void print_cd_info(const FFTXCodelet *cd, int prio, int print_prio)
     if (print_prio)
         av_bprintf(&bp, ", prio: %i", prio);
 
-    av_log(NULL, AV_LOG_VERBOSE, "%s\n", bp.str);
+    av_log(NULL, AV_LOG_DEBUG, "%s\n", bp.str);
 }
 
 static void print_tx_structure(AVTXContext *s, int depth)
@@ -376,7 +376,7 @@  static void print_tx_structure(AVTXContext *s, int depth)
     const FFTXCodelet *cd = s->cd_self;
 
     for (int i = 0; i <= depth; i++)
-        av_log(NULL, AV_LOG_VERBOSE, "    ");
+        av_log(NULL, AV_LOG_DEBUG, "    ");
 
     print_cd_info(cd, cd->prio, 0);
 
@@ -593,10 +593,10 @@  av_cold int ff_tx_init_subtx(AVTXContext *s, enum AVTXType type,
     AV_QSORT(cd_matches, nb_cd_matches, TXCodeletMatch, cmp_matches);
 
 #if !CONFIG_SMALL
-    av_log(NULL, AV_LOG_VERBOSE, "%s\n", bp.str);
+    av_log(NULL, AV_LOG_DEBUG, "%s\n", bp.str);
 
     for (int i = 0; i < nb_cd_matches; i++) {
-        av_log(NULL, AV_LOG_VERBOSE, "    %i: ", i + 1);
+        av_log(NULL, AV_LOG_DEBUG, "    %i: ", i + 1);
         print_cd_info(cd_matches[i].cd, cd_matches[i].prio, 1);
     }
 #endif
@@ -677,7 +677,7 @@  av_cold int av_tx_init(AVTXContext **ctx, av_tx_fn *tx, enum AVTXType type,
     *tx  = tmp.fn[0];
 
 #if !CONFIG_SMALL
-    av_log(NULL, AV_LOG_VERBOSE, "Transform tree:\n");
+    av_log(NULL, AV_LOG_DEBUG, "Transform tree:\n");
     print_tx_structure(*ctx, 0);
 #endif