diff options
Diffstat (limited to 'videoout.c')
| -rw-r--r-- | videoout.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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"); | 
