media_module: h265 stream mode discard dirty data [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Thu, 25 Jun 2020 03:10:25 +0000 (11:10 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Mon, 29 Jun 2020 08:24:37 +0000 (01:24 -0700)
commit250738100dd564a5b8d7b4a8349f1083d664ebdc
tree2ec1b6e549252a471501df3e69fdf791dba7d499
parent8bf6fdf8c10e0b3a0b9504a656963a7423813a78
media_module: h265 stream mode discard dirty data [1/1]

PD#SWPL-27805

Problem:
The decoder did not discard the incorrect data,
cause playback stuck.

Solution:
When the video buffer data is enough but cannot
be decoded, the data is forcibly discarded to
prevent playback stuck.

Verify:
U215

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