[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)
commitac706bf75cb99b91bf2792c52ab5b2e4b94560a1
treee4991a07cf24bb1828c3ce6180f2dc66f9bfab56
parentd9699088e4bfaff1778d26192756a5894c3f947b
[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
This page took 0.024508 seconds and 5 git commands to generate.