video: Some interlace stream will stuck when pts rebound [1/1]
authorLifeng Cao <lifeng.cao@amlogic.com>
Wed, 29 May 2019 08:03:04 +0000 (16:03 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 3 Jun 2019 11:00:11 +0000 (04:00 -0700)
commitf08c28c26d85a77fc5a0fdfd1bab4d17be9de53a
tree144c15e1b8be3a7a527bc8a32564f1097f007ffb
parentd38acf1facc3b95489c961da483c23f8483a3bc1
video: Some interlace stream will stuck when pts rebound [1/1]

PD#TV-6236

Problem:
Some interlace stream di has buffer count more than 16
If video pts rebound in this stream. The condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16) is
not true. So this frame can not toggle always.

Solution:
Delete this condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16)

Verify:
verify TL1

Change-Id: I7e8c12ec72d086b0516f7c7490b492e16e36e8fe
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
drivers/amlogic/media/video_sink/video.c