dv: last frame display wrong [1/1]
authoryao liu <yao.liu@amlogic.com>
Sat, 12 Oct 2019 06:02:25 +0000 (14:02 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 16 Oct 2019 02:57:37 +0000 (19:57 -0700)
commit48eb8d160d94b03c3e6beb54e1b95ebbf83a969e
treefd57bf6e5d1fc3ad689d2ec49b7a390c7ecb39f5
parent93b805b886707aec84993bcb55b5642e93bc9db5
dv: last frame display wrong [1/1]

PD#SWPL-14994

Problem:
when decoder released earlier than video layer
closed, new_dovi_setting.video_width is set to
0 and dovi_setting_video_flag is set to flase,
which leads to dv core1 closed.

Solution:
Since new_dovi_setting.video_width is update
every frame at parse_metadata, there is no need
to clear new_dovi_setting.video_width at reg/unreg

Verify:
SM1

Change-Id: Icf1b90340263cf0df1987d8b85d591a98276fd57
Signed-off-by: yao liu <yao.liu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c