summaryrefslogtreecommitdiff
authorshihong.zheng <shihong.zheng@amlogic.com>2020-03-23 11:57:00 (GMT)
committer Hui Zhang <hui.zhang@amlogic.com>2020-03-25 08:39:16 (GMT)
commitec24d84685d8226e0d2fd5fcd80fa48b0f3868a3 (patch)
tree042776557514b3029bdfa0be8d76af837eefc8b5
parente0364dc072966f9fca3734173bf934a4e49a5afd (diff)
downloadmedia_modules-ec24d84685d8226e0d2fd5fcd80fa48b0f3868a3.zip
media_modules-ec24d84685d8226e0d2fd5fcd80fa48b0f3868a3.tar.gz
media_modules-ec24d84685d8226e0d2fd5fcd80fa48b0f3868a3.tar.bz2
mpeg12: close debug print log. [1/1]
PD#SWPL-22905 Problem: mpeg12 too many debug print log. Solution: change print level for debug log. Verify: X301 Change-Id: Ic3f53c47f2f810081ce6da241e2ef516357cc8aa Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
Diffstat
-rw-r--r--drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c b/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
index a30fec7..ba4e5c9 100644
--- a/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
+++ b/drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
@@ -1603,7 +1603,7 @@ static int prepare_display_buf(struct vdec_mpeg12_hw_s *hw,
kfifo_put(&hw->newframe_q,
(const struct vframe_s *)vf);
} else {
- debug_print(DECODE_ID(hw), 0,
+ debug_print(DECODE_ID(hw), PRINT_FLAG_TIMEINFO,
"%s, vf: %lx, num[%d]: %d(%c), dur: %d, type: %x, pts: %d(%lld)\n",
__func__, (ulong)vf, i, hw->disp_num, GET_SLICE_TYPE(info),
vf->duration, vf->type, vf->pts, vf->pts_us64);
@@ -2204,7 +2204,7 @@ static void vmpeg_vf_put(struct vframe_s *vf, void *op_arg)
"warn: vf %lx, index %d putback repetitive\n", (ulong)vf, vf->index);
}
hw->put_num++;
- debug_print(DECODE_ID(hw), 0,
+ debug_print(DECODE_ID(hw), PRINT_FLAG_RUN_FLOW,
"%s: vf: %lx, index: %d, use: %d\n", __func__, (ulong)vf,
vf->index, hw->vfbuf_use[vf->index]);
kfifo_put(&hw->newframe_q,