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)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 24 May 2019 07:10:44 +0000 (00:10 -0700)
commite2943b5d21ac8d45db35bc83241ba8e79cf928a4
tree61f0a3dcbbe1fcaf204d371d13709a66680510b9
parent8e416c94d573b1f987d51e9bb646851c4e0ef1f8
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