vmh264: video playback stutter issue [1/1]
authorHui Zhang <hui.zhang@amlogic.com>
Wed, 6 May 2020 11:57:30 +0000 (19:57 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 26 May 2020 07:29:43 +0000 (00:29 -0700)
commitbb229c02a35f1f01e00fadd8b1af08d6f16dc7ab
tree20f3019512196382a7320805be96fb60e0909016
parent527e712a2b0e5dbc14db80e0a854b3c97bcd6823
vmh264: video playback stutter issue [1/1]

PD#SWPL-25348

Problem:
this stream has wrong duration info inside vui.
it cause video display not smooth

Solution:
add a limit when variable frame rate and duraion is
adnormal. force set duration to a normal

Verify:
U215

Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
Change-Id: I164e6d59f622f0cc5247c2d929f7e2693a16f6bd
drivers/frame_provider/decoder/h264_multi/vmh264.c