[FFmpeg-devel] [PATCH 1/2] lavc/libdavs2.c: change log level

hwren hwrenx at 126.com
Tue Jul 31 15:17:11 EEST 2018


preper for fate test, the info-level param will be added later.

Signed-off-by: hwren <hwrenx at 126.com>
---
 libavcodec/libdavs2.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index 12db1f9..676b6fc 100644
--- a/libavcodec/libdavs2.c
+++ b/libavcodec/libdavs2.c
@@ -51,7 +51,7 @@ static av_cold int davs2_init(AVCodecContext *avctx)
 
     /* init the decoder */
     cad->param.threads      = avctx->thread_count;
-    cad->param.info_level   = 0;
+    cad->param.info_level   = DAVS2_LOG_WARNING;
     cad->decoder            = davs2_decoder_open(&cad->param);
 
     if (!cad->decoder) {
@@ -59,7 +59,6 @@ static av_cold int davs2_init(AVCodecContext *avctx)
         return AVERROR(EINVAL);
     }
 
-    av_log(avctx, AV_LOG_VERBOSE, "decoder created. %p\n", cad->decoder);
     return 0;
 }
 
-- 
2.7.4



More information about the ffmpeg-devel mailing list