vdec: When one of the fields is empty, play the screen [1/1]
authoryuanfa.zhuang <yuanfa.zhuang@amlogic.com>
Thu, 14 Jan 2021 12:05:48 +0000 (20:05 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Wed, 20 Jan 2021 05:35:13 +0000 (21:35 -0800)
commit4a3603b9b5a9f3861f14ceb8c6e3a8e7d12286b6
treeaf823f675d7c901d0f0d99f5f5c3e1162d9fd0b3
parent77d645adf96369a96e47fe04e0d2f115b6c98e60
vdec: When one of the fields is empty, play the screen [1/1]

PD#SWPL-41227

Problem:
Interlaced stream is recognized as progressive,
when one of the fields is empty, the screen will be played

Solution:
When this happens, only a valid field is output

Verify:
U21BQ-S905X2

Signed-off-by: yuanfa.zhuang <yuanfa.zhuang@amlogic.com>
Change-Id: Ib5dacc09acf45ce2cddfa700b837961e87ffc106
drivers/frame_provider/decoder/h264_multi/vmh264.c