[media] v4l: Tell user space we're using monotonic timestamps
Set buffer timestamp flags for videobuf, videobuf2 and drivers that use neither. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
8e6057b510
commit
1b18e7a0be
@@ -674,6 +674,7 @@ static int isp_video_queue_alloc(struct isp_video_queue *queue,
|
||||
buf->vbuf.index = i;
|
||||
buf->vbuf.length = size;
|
||||
buf->vbuf.type = queue->type;
|
||||
buf->vbuf.flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
|
||||
buf->vbuf.field = V4L2_FIELD_NONE;
|
||||
buf->vbuf.memory = memory;
|
||||
|
||||
|
Reference in New Issue
Block a user