h265: some special case video freeze in playback [1/1]
authorHui Zhang <hui.zhang@amlogic.com>
Wed, 11 Nov 2020 01:40:43 +0000 (09:40 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Mon, 23 Nov 2020 09:06:46 +0000 (01:06 -0800)
commit9162b350f0054f906820e6f9f1d795a48a97fed9
tree2d469e2166b2ec81c4e80922b837d516bf071026
parentd25d3b5bd03cad199c93bd5021d9ef7372abe358
h265: some special case video freeze in playback  [1/1]

PD#SWPL-36642

Problem:
some  h265 stream has more reference, and offset is big,
video playback freeze easily, no buffer vailable to decode

Solution:
change condition to use sps_max_dec_buf to cal max_buf_num

Verify:
S905X3

Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
Change-Id: I954e1491b88b695072000574206aa487c6c034a0
drivers/frame_provider/decoder/h265/vh265.c