dv: fix the error setting in dv core [1/1]
authorYi Zhou <yi.zhou@amlogic.com>
Tue, 25 Dec 2018 09:08:39 +0000 (17:08 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 27 Dec 2018 01:42:23 +0000 (17:42 -0800)
commitf080b14e153f4e9aaab9eeb853029321786badfa
tree2fd79613c681e4f9e3a0af1630b1bdf88b48f542
parent7fa6dca095c361e4a3a4e7ed3bf57e50f4c37770
dv: fix the error setting in dv core [1/1]

PD#SWPL-3046

Problem:
movie player will keep video layer when playing video films.
Even if jumping to the next films, it will not close video layer.
When meeting this situation, dv core will keep the front
film's setting.

Solution:
when jumping the next film, we know the first frame.
So we clean the setting in the first frames.

Verify:
u212

Change-Id: I61ebc8f58baed32abc519018676e40b08d059cac
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c