diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2012-10-22 16:10:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-21 08:20:51 -0500 |
commit | 1b18e7a0be859911b22138ce27258687efc528b8 (patch) | |
tree | 13a6a83e0e6d2b1b83eb9554c102422d08553aa3 /drivers/media/platform/omap3isp/ispqueue.c | |
parent | 8e6057b510aad354e017c6dfca7f386a0eb91b63 (diff) |
[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>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispqueue.c')
-rw-r--r-- | drivers/media/platform/omap3isp/ispqueue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/ispqueue.c b/drivers/media/platform/omap3isp/ispqueue.c index 15bf3eab2224..6599963cdd9b 100644 --- a/drivers/media/platform/omap3isp/ispqueue.c +++ b/drivers/media/platform/omap3isp/ispqueue.c | |||
@@ -674,6 +674,7 @@ static int isp_video_queue_alloc(struct isp_video_queue *queue, | |||
674 | buf->vbuf.index = i; | 674 | buf->vbuf.index = i; |
675 | buf->vbuf.length = size; | 675 | buf->vbuf.length = size; |
676 | buf->vbuf.type = queue->type; | 676 | buf->vbuf.type = queue->type; |
677 | buf->vbuf.flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; | ||
677 | buf->vbuf.field = V4L2_FIELD_NONE; | 678 | buf->vbuf.field = V4L2_FIELD_NONE; |
678 | buf->vbuf.memory = memory; | 679 | buf->vbuf.memory = memory; |
679 | 680 | ||