]> git.karo-electronics.de Git - linux-beck.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)
commit9057bc2b35cfdb5b5fb7d93708f11de5dd9b6b2e
tree554ff360f4e7bb863c2f4872a20ddd994abfdb67
parent02a34b6ace4cce92d5cf4d76e54afe0c71e4f706
[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