avsync: tsync: fix the avsync problem [1/1]
authorlive.li <live.li@amlogic.com>
Thu, 22 Nov 2018 02:05:53 +0000 (10:05 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 23 Nov 2018 02:04:31 +0000 (18:04 -0800)
commit97aec8956f96ae6fb2e23c6b0ba2ac3aafbd2979
tree7b97e6fee594043e6559f09fa4ef03193d76fed3
parentfdcfc036dbec622d446bd8302b5f1e57457668ac
avsync: tsync: fix the avsync problem [1/1]

PD#SWPL-1158

Problem:
The video will become un-smooth after change
between several audio languages

Solution:
when apts and vpts distance is large then 60*90000
then set the tsync mode to vmaster and  set the tysnc
enable to 0

Verify:
P321

Change-Id: I7c7e32f49ca12645cf6a1aa58caeb968a9234c8c
Signed-off-by: live.li <live.li@amlogic.com>
drivers/amlogic/media/frame_sync/timestamp.c
drivers/amlogic/media/frame_sync/tsync.c