summaryrefslogtreecommitdiff
path: root/videoout.c
diff options
context:
space:
mode:
Diffstat (limited to 'videoout.c')
-rw-r--r--videoout.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/videoout.c b/videoout.c
index f8b6be2..ebeaefa 100644
--- a/videoout.c
+++ b/videoout.c
@@ -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;