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>
Thu, 7 Aug 2014 05:26:48 +0000 (14:26 +0900)
commit73b46ebe59968383afd4ed40db2d932ea7f4de7a
treee76a91e51f84347568b274fa4546e130662d4be3
parentea3eec793931397c1cc439c3aedd4bfa994b1ae4
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