Skip to content

Commit f08c28c

Browse files
Lifeng Caojianxinpan
authored andcommitted
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>
1 parent d38acf1 commit f08c28c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • drivers/amlogic/media/video_sink

drivers/amlogic/media/video_sink/video.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5504,7 +5504,6 @@ static inline bool vpts_expire(struct vframe_s *cur_vf,
55045504
} else if (omx_run
55055505
&& omx_secret_mode
55065506
&& (omx_pts + omx_pts_interval_upper < next_vf->pts)
5507-
&& (abs(omx_pts_set_index - next_vf->omx_index) <= 16)
55085507
&& (omx_pts_set_index >= next_vf->omx_index)) {
55095508
pr_info("omx, omx_pts=%d omx_pts_set_index=%d pts=%d omx_index=%d\n",
55105509
omx_pts,

0 commit comments

Comments
 (0)