summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");