]> git.baikalelectronics.ru Git - kernel.git/commit
[media] videobuf2-core: fill in length field for multiplanar buffers
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Sep 2012 09:24:18 +0000 (06:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:23:24 +0000 (22:23 -0300)
commita510389fa489109bb8dc239835272ebda6c17370
tree3dddb4067a2d970eb8aac24944a127588f0c0f9a
parent65b8110511ed2ae92497e8d2fa440a07f7e0b656
[media] videobuf2-core: fill in length field for multiplanar buffers

length should be set to num_planes in __fill_v4l2_buffer(). That way the
caller knows how many planes there are in the buffer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/videobuf2-core.c