summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerapad.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2022-02-14 12:39:51 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-02-15 11:10:26 +0000
commit039a6a02d019d0e06a5b236bfe99c4444e05fe8d (patch)
tree591187ecb1bd3c6c50f2ea5ade2d9933fec0a7c8 /src/gstreamer/gstlibcamerapad.h
parent1966b9a58436fab51f8270aad6a228b935e4fac4 (diff)
v4l2: v4l2_camera_proxy: Fix timestamp calculation
The V4L2 Compatibility layer is returning timestamps for buffers which are incorrectly calculated from the frame metadata. The sec component of the timestamp is correct, but the usec component is out, leaving frame captures reporting non-monotonically increasing timestamps, and incorrect frame rate calculations. Fix the usecs calculation reported by the V4L2 adaptation layer. Bug: https://bugs.libcamera.org/show_bug.cgi?id=118 Fixes: 0ce8f2390b52 ("v4l2: v4l2_compat: Add V4L2 compatibility layer") Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamerapad.h')
0 files changed, 0 insertions, 0 deletions