From d5c7970a272d23d4816f60cf89069b6a6e3b83ac Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 7 Nov 2022 14:15:49 -0300 Subject: avutil/tx: use a lower log level for the debug messages 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 --- libavutil/tx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3