vh265: fix h265 playback freeze issue in frame mode with kodi [1/1]
PD#SWPL-37390
Problem:
with Kodi, this stream will send I frame with eos nal in head of
chunk. decode will idscard all frame data once meet eos nal.
it will cause I frame missed
Solution:
in frame mode, decoder will check shiftbytes and decode size when
eos nal meet. if eos nal in the beginning of the chunks. don't skip
the left data, go on decoding
Verify:
AC214
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
Change-Id: I7900df3cfaa70811c5d9d52df0c68fa6616f36d4