]> git.baikalelectronics.ru Git - kernel.git/commit
[media] solo6x10: use v4l2_get_timestamp to fill in buffer timestamp
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 20 Nov 2015 09:16:56 +0000 (07:16 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:49:47 +0000 (13:49 -0200)
commitdc8eafa90f72432e0ac1b66cbae76ce6421544bb
tree554ff360f4e7bb863c2f4872a20ddd994abfdb67
parent9f198afad2c8394bb28542144cdeb768f6020403
[media] solo6x10: use v4l2_get_timestamp to fill in buffer timestamp

The timestamp of a v4l2_buffer was advertised as being CLOCK_MONOTONIC,
but instead a timestamp from a header field was used. This is inconsistent
and not what applications expect. Use v4l2_get_timestamp to properly
set the timestamp.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c