diff mbox series

[FFmpeg-devel,2/2] lavc/qsvdec: reduce info message when more data is required

Message ID 20231127060151.2435971-2-haihao.xiang@intel.com
State Accepted
Commit fc73b372cd43e52d3aa0aefc6d76fd340bf753f1
Headers show
Series [FFmpeg-devel,1/2] lavc/qsvdec: return 0 if more data is required | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Xiang, Haihao Nov. 27, 2023, 6:01 a.m. UTC
From: Haihao Xiang <haihao.xiang@intel.com>

demote the info to AV_LOG_VERBOSE

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
---
 libavcodec/qsvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index b501964089..559f63698a 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -917,7 +917,7 @@  static int qsv_process_data(AVCodecContext *avctx, QSVContext *q,
         ret = qsv_decode_header(avctx, q, pkt, pix_fmt, &param);
         if (ret < 0) {
             if (ret == AVERROR(EAGAIN))
-                av_log(avctx, AV_LOG_INFO, "More data is required to decode header\n");
+                av_log(avctx, AV_LOG_VERBOSE, "More data is required to decode header\n");
             else
                 av_log(avctx, AV_LOG_ERROR, "Error decoding header\n");
             goto reinit_fail;