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:
Jason Chen
2010-02-03 13:31:43 +08:00
committed by Matt Sealey
parent 3574ba3ed4
commit cbc4ebdbd4

View File

@@ -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) {