summaryrefslogtreecommitdiff
authorGan Zhang <gan.zhang@amlogic.com>2020-05-12 06:26:34 (GMT)
committer Hui Zhang <hui.zhang@amlogic.com>2020-05-13 06:32:18 (GMT)
commit2c478b7ca86d7ab46ce5875e4510c71f0556aec0 (patch)
tree4b502892c8fac63e7158c35e896cfe2264a1b5e9
parent67822bbf852d004a2eb78e7b295fff383179a6f2 (diff)
downloadmedia_modules-2c478b7ca86d7ab46ce5875e4510c71f0556aec0.zip
media_modules-2c478b7ca86d7ab46ce5875e4510c71f0556aec0.tar.gz
media_modules-2c478b7ca86d7ab46ce5875e4510c71f0556aec0.tar.bz2
vh265: fix fps statistics error [1/1]
PD#SWPL-25770 Problem: One more fps was counted, resulting in an error in fps statistics. Solution: Only statistics fps once. Verify: AC214 Change-Id: I5d7d3f8ea81eaba069d83d8b755c891a29db36c0 Signed-off-by: Gan Zhang <gan.zhang@amlogic.com>
Diffstat
-rw-r--r--drivers/frame_provider/decoder/h265/vh265.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/frame_provider/decoder/h265/vh265.c b/drivers/frame_provider/decoder/h265/vh265.c
index 83e4ffe..5accb87 100644
--- a/drivers/frame_provider/decoder/h265/vh265.c
+++ b/drivers/frame_provider/decoder/h265/vh265.c
@@ -9251,7 +9251,6 @@ static int prepare_display_buf(struct hevc_state_s *hevc, struct PIC_s *pic)
get_pic_poc(hevc, (vf->index >> 8) & 0xff),
vf->pts, vf->pts_us64,
vf->duration);
- hw_to_vdec(hevc)->vdec_fps_detec(hw_to_vdec(hevc)->id);
/*if (pic->vf_ref == hevc->vf_pre_count) {*/
if (hevc->kpi_first_i_decoded == 0) {