]> 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)
commitd9affb02d1a0872aeecfc1f7592fd59df8169824
tree554ff360f4e7bb863c2f4872a20ddd994abfdb67
parent1ae14273fc9b352b5c0b9ba633b9056f02df3698
[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