h265: black screen a few seconds when start playback [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Fri, 30 Oct 2020 11:40:32 +0000 (19:40 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 17 Nov 2020 13:07:50 +0000 (05:07 -0800)
commit6ec6e4318d7767d224385b610268716fa7220f42
treeb4df54d954dc3b8d002c7f8155d55c542cf346ae
parent1767d9d3e3bd4e82b82dd9cc47d31e61e5792966
h265: black screen a few seconds when start playback [1/1]

PD#SWPL-34475

Problem:
HEVC_STREAM_RD_PTR is not updated because
there is a lot of dirty data in front of
the CSD data, resulting in a long black screen

Solution:
When starting playback, all dirty data will
be discarded.

Verify:
AH212

Change-Id: Id653526617e2b362af0baf170f687498f4576453
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c