[FFmpeg-devel] [PATCH 2/3] lavfi/tonemap_vaapi: Update the log

Xiang, Haihao haihao.xiang at intel.com
Mon Mar 18 10:12:45 EET 2024


From: Haihao Xiang <haihao.xiang at intel.com>

demote the message to AV_LOG_VERBOSE.

Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
---
 libavfilter/vf_tonemap_vaapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_tonemap_vaapi.c b/libavfilter/vf_tonemap_vaapi.c
index a21f565e3a..5d475e8ff2 100644
--- a/libavfilter/vf_tonemap_vaapi.c
+++ b/libavfilter/vf_tonemap_vaapi.c
@@ -336,7 +336,7 @@ static av_cold int tonemap_vaapi_init(AVFilterContext *avctx)
         vpp_ctx->output_format = av_get_pix_fmt(ctx->output_format_string);
     } else {
         vpp_ctx->output_format = AV_PIX_FMT_NV12;
-        av_log(avctx, AV_LOG_WARNING, "Output format not set, use default format NV12\n");
+        av_log(avctx, AV_LOG_VERBOSE, "Output format not set, use default format NV12 for HDR to SDR tone mapping.\n");
     }
 
 #define STRING_OPTION(var_name, func_name, default_value) do { \
-- 
2.34.1



More information about the ffmpeg-devel mailing list