]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vb2: Set data_offset to 0 for single-plane output buffers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 17 Dec 2012 10:38:16 +0000 (07:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:19:57 +0000 (09:19 -0200)
commit52a79dc0310d22db0c7a9b8f251b92d7f509931a
treee4991a07cf24bb1828c3ce6180f2dc66f9bfab56
parentc319e082599cd5bbbbb0a798efc57bff521c044b
[media] v4l: vb2: Set data_offset to 0 for single-plane output buffers

Single-planar V4L2 buffers are converted to multi-planar vb2 buffers
with a single plane when queued. The plane data_offset field is not
available in the single-planar API and must be set to 0 for all output
buffers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/videobuf2-core.c