Skip to content

Commit 2fc839a

Browse files
authored
[PATCH] Fix Y12I streaming error handling in vi5_capture_dequeue (#338)
1 parent e42f099 commit 2fc839a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

nvidia-oot/6.0/0003-Fix-y12i-calibration-stream.patch

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ index 7d07ccd7..c64dcc38 100644
77
vb->vb2_buf.timestamp = descr->status.sof_timestamp;
88

99
- if (frame_err)
10-
+ /* TODO: Remove the branch or process the error for Y12I only */
11-
+ if (false && frame_err)
10+
+ /* TODO: Remove Y12I frame_err workaround once Y12I is fixed
11+
+ * Currently there is a black-bar at the bottom of the frame.
12+
+ */
13+
+ if (frame_err && chan->fmtinfo->fourcc != V4L2_PIX_FMT_Y12I)
1214
buf->vb2_state = VB2_BUF_STATE_ERROR;
1315
else
1416
buf->vb2_state = VB2_BUF_STATE_DONE;

0 commit comments

Comments
 (0)