diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-11-04 03:28:24 +0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-12-03 23:49:00 +0400 |
| commit | bb4e7d6ea2b1e97348f8ac4be5b9493b70d9d54e (patch) | |
| tree | 3c220397dcbbbb55d87072e6e659755ae6ed00b4 | |
| parent | f33354f0451dc6bf339052f28078a5e139fcf38c (diff) | |
| download | linux-bb4e7d6ea2b1e97348f8ac4be5b9493b70d9d54e.tar.xz | |
[media] v4l: omap4iss: Set the vb2 timestamp type
Timestamps use the monotonic clock, configure the vb2 queue accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
| -rw-r--r-- | drivers/staging/media/omap4iss/iss_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/omap4iss/iss_video.c b/drivers/staging/media/omap4iss/iss_video.c index 1cdfc4339498..ee3005482c48 100644 --- a/drivers/staging/media/omap4iss/iss_video.c +++ b/drivers/staging/media/omap4iss/iss_video.c @@ -972,6 +972,7 @@ static int iss_video_open(struct file *file) q->ops = &iss_video_vb2ops; q->mem_ops = &vb2_dma_contig_memops; q->buf_struct_size = sizeof(struct iss_buffer); + q->timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; ret = vb2_queue_init(q); if (ret) { |
