PD#SWPL-13556
Problem:
hdmi signal has changed(color space, hdr etc.) before switch source
Solution:
clear the change flag when stop dec
Verify:
verified by t962x2_x301
Change-Id: I79c6dba9bf69f70850714c5810ae724b5d35e1e3
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
devp->flags &= (~VDIN_FLAG_RDMA_ENABLE);
devp->ignore_frames = 0;
devp->cycle = 0;
+ /*reset csc_cfg in case it is enabled before switch out hdmi*/
+ devp->csc_cfg = 0;
/* clear color para*/
memset(&devp->prop, 0, sizeof(devp->prop));