]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] vb2: set timestamp when using write()
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Apr 2014 07:36:57 +0000 (04:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:45:33 +0000 (18:45 -0300)
commitebd7c50510f4b56285bb9fb4ba56a501c9c8f7df
tree62b8f34954fb8f5d17f6bb3b1f0ec0ac430cdf4d
parentdcc2428a5e930aa7c0f40840a946b68a396ceae6
[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