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)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 29 Nov 2018 06:37:53 +0000 (22:37 -0800)
commitdab0e75553e5663c3c13f1e87ece44028f4ed173
tree59b0bbdb65f9cabb034a4a3f8378de9aefe1e99e
parenta6f6a3400ca090fa43710c6f1d24e7f50b19fd84
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