Skip to content
Snippets Groups Projects
Commit 263170a2 authored by Ezequiel Garcia's avatar Ezequiel Garcia
Browse files

Remove dead crop code

parent 27c89341
Branches
Tags
No related merge requests found
......@@ -798,17 +798,6 @@ static int initialize_libvpu(struct encoder_context *ctx, int fd)
if (ret)
return ret;
init_param.output_format = format.fmt.pix_mp.pixelformat;
/* Get the cropped size. */
#if 0
struct v4l2_crop crop;
memset(&crop, 0, sizeof(crop));
crop.type = ctx->output_streamon_type;
ret = SYS_IOCTL(fd, VIDIOC_G_CROP, &crop);
if (ret)
return ret;
#endif
init_param.width = ctx->crop_width;
init_param.height = ctx->crop_height;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment