V4L/DVB: v4l: videobuf: qbuf now uses relevant v4l2_buffer fields for OUTPUT types
authorPawel Osciak <p.osciak@samsung.com>
Wed, 21 Apr 2010 09:44:27 +0000 (06:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:11 +0000 (12:58 -0300)
commit96f2ec67b8d4761471409e1df0adfe4da5262f84
treef98aa4ca20471a38c82a5624f9cc0f5223fb4eed
parent72fcf2a8daac43f8e3bce62a1c1124859b323006
V4L/DVB: v4l: videobuf: qbuf now uses relevant v4l2_buffer fields for OUTPUT  types

According to the V4L2 specification, applications set bytesused, field and
timestamp fields of struct v4l2_buffer when the buffer is intended for
output and memory type is MMAP. This adds proper copying of those values
to videobuf_buffer so drivers can use them.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-core.c