video: compensation omxpts for pcr check [1/1]
authorshuanglong.wang <shuanglong.wang@amlogic.com>
Fri, 12 Apr 2019 05:55:06 +0000 (13:55 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:12:19 +0000 (14:12 +0800)
commit0ab57e5be579ed262ddad4bb9509bdeb21d70134
treec36e4b3e0a4a71ea7ee2087fd7628db49bcc6fe3
parent5948b60cdffd97cc4d63f04382e4cab9cebd8c67
video: compensation omxpts for pcr check [1/1]

PD#SWPL-5664

Problem:
pcr is probably adjust when test AL1 eyepatch test case

Solution:
the time is not accurate when check pcr and omx_pts differ, because
omx_pts is used the value that be set, but pcr is current. Here add
compensation for omx_pts

Verify:
verify by nts

Change-Id: I3e0f6f006fd79cf7cac4148fd18da72111a333c7
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
 Conflicts:
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/video.c