From 1da680da46358e7469f19278698790becc1ff585 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 13 Nov 2012 15:45:34 +0100 Subject: 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 --- videoout.c | 4 ++-- 1 file 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"); -- cgit v1.2.3