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

Submitted by hwren on July 31, 2018, 12:17 p.m.

Details

Message ID 1533039432-6189-1-git-send-email-hwrenx@126.com
State New
Headers show

Commit Message

hwren July 31, 2018, 12:17 p.m.
preper for fate test, the info-level param will be added later.

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

Patch hide | download patch | download mbox

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;
 }