Re: [RFCv1 PATCH 3/6] videobuf2-core: move plane verification out of __fill_v4l2_buffer.

2012-09-20 Thread Hans Verkuil
On Wed September 19 2012 18:55:25 Sylwester Nawrocki wrote: On 09/19/2012 04:37 PM, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The plane verification should be done before actually queuing or dequeuing buffers, so move it out of __fill_v4l2_buffer and call it as a

[RFCv1 PATCH 3/6] videobuf2-core: move plane verification out of __fill_v4l2_buffer.

2012-09-19 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The plane verification should be done before actually queuing or dequeuing buffers, so move it out of __fill_v4l2_buffer and call it as a separate step. The also makes it possible to change the return type of __fill_v4l2_buffer to void. Signed-off-by:

Re: [RFCv1 PATCH 3/6] videobuf2-core: move plane verification out of __fill_v4l2_buffer.

2012-09-19 Thread Sylwester Nawrocki
On 09/19/2012 04:37 PM, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The plane verification should be done before actually queuing or dequeuing buffers, so move it out of __fill_v4l2_buffer and call it as a separate step. The also makes it possible to change the return