upstream: [media] vb2: set timestamp when using write()
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Apr 2014 07:36:57 +0000 (04:36 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:04 +0000 (11:59 +0900)
commitbb6d72255bfd98b7222d1fa99b194d43d143576f
tree2d6f61c9542a438e7b145a9170fbc01b9f09463b
parent6f5d396094bbd5e2819cf5f537fcd11ed1b4156c
upstream: [media] vb2: set timestamp when using write()

When using write() to write data to an output video node the vb2 core
should set timestamps if V4L2_BUF_FLAG_TIMESTAMP_COPY is set. Nobody
else is able to provide this information with the write() operation.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c