diff options
Diffstat (limited to 'videoout.c')
| -rw-r--r-- | videoout.c | 12 | 
1 files changed, 0 insertions, 12 deletions
| @@ -58,7 +58,6 @@ struct videoout *vo_init(const char *devname,  {  	struct v4l2_pix_format pixfmt;  	struct v4l2_format fmt; -	struct v4l2_rect crop;  	struct videoout *vo;  	int ret; @@ -77,17 +76,6 @@ struct videoout *vo_init(const char *devname,  		goto error;  	} -	crop.left = 0; -	crop.top = 0; -	crop.width = width; -	crop.height = height; - -	ret = v4l2_set_crop(vo->dev, &crop); -	if (ret < 0) { -		perror("VIDIOC_S_CROP\n"); -		goto error; -	} -  	pixfmt.pixelformat = V4L2_PIX_FMT_YUYV;  	pixfmt.width = width;  	pixfmt.height = height; | 
