mpeg2: fix mosaics when set error_skip. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Fri, 25 Oct 2019 03:30:13 +0000 (11:30 +0800)
committershihong.zheng <shihong.zheng@amlogic.com>
Fri, 25 Oct 2019 03:36:49 +0000 (11:36 +0800)
commitb85dd03459445af9c870c4df084b7d26936e28b7
tree07621673917252df126f40118fce19ee0d0e833b
parent4c3eb8b21aefebf9ad79c90cc9d37c1a9e69d8ca
mpeg2: fix mosaics when set error_skip. [1/1]

PD#SWPL-12375

Problem:
mpeg2 mosaics after set error_frame_skip_level to 2.
a error p frame store to ref list, so have not set
error skip flag in error_skip(). the next mosaic b frame
display before p.

Solution:
set b frame error when error p in ref list.
set error_frame_skip_level to 2 default.

Verify:
u212

Change-Id: Ide23f0cf8a5f6ef72e1a6a6e129a7f7f1ef658fa
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c