Re: [PATCH v3 2/3] v4l: videobuf: Add support for V4L2_BUF_FLAG_ERROR

2010-04-26 Thread Laurent Pinchart
Hi Pavel, On Thursday 22 April 2010 11:35:35 Pawel Osciak wrote: Laurent Pinchart laurent.pinch...@ideasonboard.com On Wednesday 21 April 2010 13:39:44 Pawel Osciak wrote: @@ -679,23 +682,20 @@ int videobuf_dqbuf(struct videobuf_queue *q, switch (buf-state) { case

Re: [PATCH v3 2/3] v4l: videobuf: Add support for V4L2_BUF_FLAG_ERROR

2010-04-22 Thread Laurent Pinchart
Hi Pawel, On Wednesday 21 April 2010 13:39:44 Pawel Osciak wrote: From: Hans Verkuil hverk...@xs4all.nl For recoverable stream errors dqbuf() now returns 0 and the error flag is set instead of returning EIO. Signed-off-by: Hans Verkuil hverk...@xs4all.nl ---

RE: [PATCH v3 2/3] v4l: videobuf: Add support for V4L2_BUF_FLAG_ERROR

2010-04-22 Thread Pawel Osciak
Hi, Laurent Pinchart laurent.pinch...@ideasonboard.com On Wednesday 21 April 2010 13:39:44 Pawel Osciak wrote: @@ -679,23 +682,20 @@ int videobuf_dqbuf(struct videobuf_queue *q, switch (buf-state) { case VIDEOBUF_ERROR: dprintk(1, dqbuf: state is error\n); -

[PATCH v3 2/3] v4l: videobuf: Add support for V4L2_BUF_FLAG_ERROR

2010-04-21 Thread Pawel Osciak
From: Hans Verkuil hverk...@xs4all.nl For recoverable stream errors dqbuf() now returns 0 and the error flag is set instead of returning EIO. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/videobuf-core.c | 16 1 files changed, 8 insertions(+), 8