summaryrefslogtreecommitdiff
authoryongchun.li <yongchun.li@amlogic.com>2019-12-10 02:52:48 (GMT)
committer Zhi Zhou <zhi.zhou@amlogic.com>2019-12-19 02:36:31 (GMT)
commitb3456c9e4c1bdd011ab67758dd92129f390e5aca (patch)
tree9dd2096ac8734ccd3c171361a8644418ba79473e
parente341185c74b2ced590f7af17c67fae8ba38041e4 (diff)
downloadmedia_modules-b3456c9e4c1bdd011ab67758dd92129f390e5aca.zip
media_modules-b3456c9e4c1bdd011ab67758dd92129f390e5aca.tar.gz
media_modules-b3456c9e4c1bdd011ab67758dd92129f390e5aca.tar.bz2
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 <yongchun.li@amlogic.com>
Diffstat
-rw-r--r--drivers/frame_sink/encoder/h264/encoder.c6
1 files changed, 4 insertions, 2 deletions
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;