avsync: tsync: fix blackscrean issue when replayed [1/2]
authorXiaoming Sui <xiaoming.sui@amlogic.com>
Wed, 6 Mar 2019 02:45:32 +0000 (10:45 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 7 Mar 2019 02:08:36 +0000 (18:08 -0800)
commit6b4f4ac8993dcda9aa12220a2cd77a27ebe48a9c
tree9afadd63b2c266b0b63474845d7be91527609751
parent2eef460c5cf18cdf6f5e2e3fe7a10ce4c31db380
avsync: tsync: fix blackscrean issue when replayed [1/2]

PD#TV-2802

Problem:
The image is stuck or blackscrean for a few seconds
when the DTV stream is replayed.

Solution:
when audio pts and video pts discontinue, then
adjust the pcr source clock.

Verify:
X301

Change-Id: Id0a74e2d4106a30b426bfa7a4faa70451db9b79e
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
drivers/amlogic/media/frame_sync/tsync.c