frame_sync: fix last few seconds of the DD+ stream are not smooth [4/4]
authorYinming Ding <yinming.ding@amlogic.com>
Wed, 28 Nov 2018 03:04:24 +0000 (11:04 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Thu, 29 Nov 2018 12:34:53 +0000 (20:34 +0800)
commit89ef3efec0b1c5a3ba849694c12f1f366c973286
tree358ca4483341c9223fcbb8d6f8819bacb7d64ee1
parent23e631fc24285e7988f8f33a0222ae7e088ff92d
frame_sync: fix last few seconds of the DD+ stream are not smooth [4/4]

PD#SWPL-714

Problem:
The last few seconds of the DD+ stream are not smooth by DTV playback.

Solution:
check the apts and vpts both discontinue,then replay the stream.

Verify:
P321

Change-Id: I6cbbdecc052dfe9fef76b44f36545b231332ee12
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
drivers/amlogic/media/frame_sync/ptsserv.c
drivers/amlogic/media/frame_sync/timestamp.c
drivers/amlogic/media/frame_sync/tsync.c
include/linux/amlogic/media/frame_sync/timestamp.h