diff options
author | Sylwester Nawrocki <[email protected]> | 2013-08-26 11:47:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2013-09-24 13:40:56 -0300 |
commit | 3c5c23c57717bf134a3c3f4af5886c7e08500e34 (patch) | |
tree | 66652df354a5fabaf38c2e7138366d444c047a82 /lib/memory-notifier-error-inject.c | |
parent | a7a69197a7e6aca22acdddef3f1bb691e239e6d1 (diff) |
[media] vb2: Allow queuing OUTPUT buffers with zeroed 'bytesused'
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 planes lengths for output buffers"
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions