summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-13 15:45:34 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-02-10 23:29:54 +0100
commit1da680da46358e7469f19278698790becc1ff585 (patch)
tree51c80dceaa40dabee621b3e638e2ca003e127b77
parente0f7ed35d188b792269f041f053ae182999e03a9 (diff)
videoout: Use the output overlay buffer type
The omap_vout driver implements the output overlay API, use the corresponding buffer type. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--videoout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/videoout.c b/videoout.c
index f3d3a22..51279e3 100644
--- a/videoout.c
+++ b/videoout.c
@@ -87,7 +87,7 @@ struct videoout *vo_init(const char *devname,
goto error;
}
- fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY;
+ fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY;
fmt.fmt.win.w.left = 0;
fmt.fmt.win.w.top = 0;
fmt.fmt.win.w.width = format->width;
@@ -145,7 +145,7 @@ int vo_enable_colorkey(struct videoout *vo, unsigned int val)
if (!(framebuffer.capability & V4L2_FBUF_CAP_CHROMAKEY))
return -ENOTSUP;
- fmt.type = V4L2_BUF_TYPE_VIDEO_OVERLAY;
+ fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY;
ret = ioctl(vo->dev->fd, VIDIOC_G_FMT, &fmt);
if (ret < 0) {
perror("VIDIOC_G_FMT\n");