avsync: tsync: change the start condition [2/2]
authorlive.li <live.li@amlogic.com>
Sun, 5 May 2019 07:41:24 +0000 (15:41 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:33:24 +0000 (14:33 +0800)
commitb7d603a0018978a2ea4bfd6d311c2d68aeac93e0
tree478ac17485dc48b5a109d5607499124a3c4b3ba5
parentca61d4b15b49d5e5955b802c2760745c9cf1564a
avsync: tsync: change the start condition [2/2]

PD#TV-5393

Problem:
 when pcr and vpts distance is far,
 use the vpts as system time for
 cache video to avoid video underrun

solution:
   use vpts as system time for some
   special ts stream

Verify:
   x301

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