video: do not compensation when paused [1/1]
authorshuanglong.wang <shuanglong.wang@amlogic.com>
Thu, 25 Apr 2019 07:37:38 +0000 (15:37 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 25 Apr 2019 10:58:54 +0000 (03:58 -0700)
commit4a5e2dbc5aed1d800e5266f37d36aa7e4a1958ba
tree59435b0c1e78c910ff261fc177f7913d72e0c9c7
parent8a11844fa94499c140ba57a5f202a1f83cfaf732
video: do not compensation when paused [1/1]

PD#SWPL-5664

Problem:
pcr not paused when netflix video non-tunnel mode pause

Solution:
do not compensation when diff between omxpts and pcr too large
Because when paused, continous compensation will lead diff
beween omxpts and pcr will alway inside pcr adjust threshold,
and pcr not set again, then pcr will increase

Verify:
verify by nts

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