mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-09 02:06:28 +00:00
ENGR00120507 v4l2 output: fix dqueue fail for ic_bypass mode
if dqueue buffer before the third frame queue, dqueue will failed. Signed-off-by: Jason Chen <b02280@freescale.com>
This commit is contained in:
@@ -329,6 +329,7 @@ static void timer_work_func(struct work_struct *work)
|
||||
queue_buf(&vout->done_q, last_buf);
|
||||
vout->ipu_buf[1] = -1;
|
||||
g_buf_output_cnt = 2;
|
||||
wake_up_interruptible(&vout->v4l_bufq);
|
||||
if (vout->state == STATE_STREAM_PAUSED) {
|
||||
index = peek_next_buf(&vout->ready_q);
|
||||
if (index != -1) {
|
||||
|
||||
Reference in New Issue
Block a user