Re: [PATCH] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused'

2013-08-27 Thread Marek Szyprowski
Hello, On 8/26/2013 5:47 PM, Sylwester Nawrocki wrote: Modify the bytesused/data_offset check to not fail if both bytesused and data_offset is set to 0. This should minimize possible issues in existing applications which worked before we enforced the plane lengths for output buffers checks intro

Re: [PATCH] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused'

2013-08-27 Thread Laurent Pinchart
Hi Sylwester, Thank you for the patch. On Monday 26 August 2013 17:47:09 Sylwester Nawrocki wrote: > Modify the bytesused/data_offset check to not fail if both bytesused > and data_offset is set to 0. This should minimize possible issues in > existing applications which worked before we enforced

[PATCH] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused'

2013-08-26 Thread Sylwester Nawrocki
Modify the bytesused/data_offset check to not fail if both bytesused and data_offset is set to 0. This should minimize possible issues in existing applications which worked before we enforced the plane lengths for output buffers checks introduced in commit 8023ed09cb278004a2 "videobuf2-core: Verify