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)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 19 Apr 2019 09:50:15 +0000 (02:50 -0700)
commitb4b824aa6cdcf529346e3e0168ef47cb972c8aa4
treeb7b0cb227e3755bca623764b7d23da3e4079ded7
parent46e9a4cfd1d6e07510dece22c8b490b63272e69c
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>
drivers/amlogic/media/video_sink/video.c