vdec: fix h264 and h265 jitter problem [1/1]
authorgan.zhang <gan.zhang@amlogic.com>
Thu, 22 Oct 2020 06:03:02 +0000 (14:03 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 23 Oct 2020 05:11:03 +0000 (22:11 -0700)
commitd9713959a8e0dce368ba06167139071126fda209
treef01ae436acf605a9dae6f9775269922edfef8b09
parent8654f7f2484d9dbb96bc4640eefdfb6d1c85ccb9
vdec: fix h264 and h265 jitter problem [1/1]

PD#SWPL-33158

Problem:
During the start of the playback, due to the inconsistent variable type
between poc and loop_playback_poc_threshold, it enters the logic of loop
playback and sets some frames that are not decoded as output, which
causes the number of frames to be less than the number of decoded frames

Solution:
Set the relevant variables of poc to int type.

Verify:
AK301

Change-Id: Ib3a030b373e98c64ac238211b33529816f7eedcd
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/h265/vh265.c