From b3456c9e4c1bdd011ab67758dd92129f390e5aca Mon Sep 17 00:00:00 2001 From: yongchun.li Date: Tue, 10 Dec 2019 02:52:48 +0000 Subject: henc: disable the flooding print by default [1/1] PD#SWPL-18190 Problem: There is flooding print information by default Solution: move the flooding inforamtion to INFO level Verify: A311D Change-Id: Ibbf1fc4ef0c58ee2546da8cdebcf617961107afb Signed-off-by: yongchun.li --- diff --git a/drivers/frame_sink/encoder/h264/encoder.c b/drivers/frame_sink/encoder/h264/encoder.c index dbc3dc7..294c600 100644 --- a/drivers/frame_sink/encoder/h264/encoder.c +++ b/drivers/frame_sink/encoder/h264/encoder.c @@ -2703,8 +2703,10 @@ static s32 convert_request(struct encode_wq_s *wq, u32 *cmd_info) wq->request.src_h = cmd_info[14]; wq->request.scale_enable = cmd_info[15]; - pr_err("hwenc: wq->pic.encoder_width:%d, wq->pic.encoder_height:%d, request fmt=%d\n", - wq->pic.encoder_width, wq->pic.encoder_height, wq->request.fmt); + enc_pr(LOG_INFO, "hwenc: wq->pic.encoder_width %d, ", + wq->pic.encoder_width); + enc_pr(LOG_INFO, "wq->pic.encoder_height:%d, request fmt=%d\n", + wq->pic.encoder_height, wq->request.fmt); if (wq->pic.encoder_width >= 1280 && wq->pic.encoder_height >= 720 && wq->request.fmt == FMT_RGBA8888) { wq->request.scale_enable = 1; -- cgit