video: for beginning playback use small omx_pts_interval_upper [1/1]
authorshuanglong.wang <shuanglong.wang@amlogic.com>
Wed, 8 May 2019 02:32:19 +0000 (10:32 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:36:24 +0000 (14:36 +0800)
commit80a07b08c7ef5851b125ed903caa7fd8219b9b02
tree42e306fecb4a872cc8b411f4500a008d1717f6b8
parent2aa2061f6ec84ce19b17fbb886fd24487004e408
video: for beginning playback use small omx_pts_interval_upper [1/1]

PD#SWPL-8545

Problem:
AL1 slope problem

Solution:
for beginning playback, use small omx_pts_interval_upper and
omx_pts_dv_lower to let pcr adjust according to omxpts quickly. Also
omxpts compenstion use sched_clock instead of getimeofday.

Verify:
verify by nts

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