avsync: video: fix avsync issue when hdmiin [2/3]
authorXiaoming Sui <xiaoming.sui@amlogic.com>
Fri, 14 Jun 2019 09:59:54 +0000 (17:59 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 23 Jul 2019 09:32:03 +0000 (02:32 -0700)
commit2e4c078596d2fd955c14550f52f8b19a6468d1f7
tree791916b06afbb3231dc752c608882a93af9f7a51
parentc2a84011281fa8933777714ca185ad3b53497cb6
avsync: video: fix avsync issue when hdmiin [2/3]

PD#TV-6148

Problem:
the avsync test is failed when hdmiin.

Solution:
add the delay check and setting when avsync is lost.

Verify:
X301

Change-Id: I53c1a7f0ddb907afa83fbf65b280d1d1cb35a804
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
drivers/amlogic/media/video_sink/video.c