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)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 7 May 2019 03:09:03 +0000 (20:09 -0700)
commit680f36f4e685ef28c16ddadb10de9d10a4bbdf98
tree2fca02d1a9b06d0db5843fe59cdf6e1b683d98a9
parentba38c1caa188f031a13a181f39d58da09e4364e5
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