Commit 44e65d4f authored by André Almeida's avatar André Almeida

Remove unused fmt specs

parent d9d88e1d
......@@ -144,20 +144,7 @@ int main(int argc, char **argv)
fmt.fmt.pix_mp.height = ctx.img_height;
fmt.fmt.pix_mp.pixelformat = ctx.pix_format;
fmt.fmt.pix_mp.num_planes = ctx.num_planes;
//fmt.fmt.pix_mp.field = V4L2_FIELD_NONE;
//fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_SRGB;
/* plane definitions
fmt.fmt.pix_mp.plane_fmt[0].sizeimage = ctx.size_image;
fmt.fmt.pix_mp.plane_fmt[0].bytesperline = ctx.img_width;
fmt.fmt.pix_mp.plane_fmt[1].sizeimage = ctx.size_image / 2;
fmt.fmt.pix_mp.plane_fmt[1].bytesperline = ctx.img_width / 2;
fmt.fmt.pix_mp.plane_fmt[2].sizeimage = ctx.size_image / 2;
fmt.fmt.pix_mp.plane_fmt[2].bytesperline = ctx.img_width / 2;
*/
xioctl(fd, VIDIOC_S_FMT, &fmt);
/* Comparing fmt accepted by the driver */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment