media: keep last normal frame before reset [2/2]
authorshihong.zheng <shihong.zheng@amlogic.com>
Thu, 25 Oct 2018 12:45:39 +0000 (20:45 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 30 Oct 2018 13:43:22 +0000 (06:43 -0700)
commitd288cd6fc4accc9b258c7b1e4f03f1b76d5ecde2
treea5b3682f5ec7ccf1e51781346fe1e6f55338840e
parent7ef827f5a8e5de3b118db135cfca08a4b8a872d8
media: keep last normal frame before reset [2/2]

PD#OTT-71

Problem:
google cast display green lump when seek.
reset after seek opration.

Solution:
keep last normal frame before reset and buf free.

Verify:
U211, Atom

Change-Id: I02304998c9434f1055de1138700510f4c19f466f
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm.c
drivers/amlogic/media/common/codec_mm/codec_mm_keeper.c
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/video_processor/ppmgr/ppmgr_vpp.c
drivers/amlogic/media/video_processor/video_dev/amlvideo.c
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/video_keeper.c
include/linux/amlogic/media/codec_mm/codec_mm.h
include/linux/amlogic/media/codec_mm/codec_mm_keeper.h