media_module: h265 fixed display incorrect pictures [1/1]
authorPeng yixin <yixin.peng@amlogic.com>
Thu, 30 Apr 2020 02:24:29 +0000 (10:24 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 8 May 2020 13:21:41 +0000 (06:21 -0700)
commit0df6cb97608dab12c92a631cabeca6326629421a
tree84914363221e11515c444b83c1e8c2a298bba956
parentc28cab8c28a75cc4988e7aeea01426c26368fbb8
media_module: h265 fixed display incorrect pictures [1/1]

PD#SWPL-25170

Problem:
Decoder output one more frame between the
first frame and the second frame.

Solution:
If video file only I frame, the first
frame will output twice, and when the
second frame display, the decoder is
already decoding another frame use
this buffer, resulting in show an
abnormal frame.

Verify:
AB311-B

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