[FFmpeg-cvslog] avutil/tx: use a lower log level for the debug messages
James Almer
git at videolan.org
Tue Nov 8 19:26:35 EET 2022
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Nov 7 14:15:49 2022 -0300| [d5c7970a272d23d4816f60cf89069b6a6e3b83ac] | committer: James Almer
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 <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5c7970a272d23d4816f60cf89069b6a6e3b83ac
---
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
More information about the ffmpeg-cvslog
mailing list