[Letux-kernel] [PATCH] letux: fix capture tool a bit
Andreas Kemnade
andreas at kemnade.info
Wed Dec 27 10:23:36 CET 2017
This fixes the capture tool to at least give no invalid
format messages. But it does still not work stable
Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
Letux/root/capture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Letux/root/capture.c b/Letux/root/capture.c
index 03a798982fba..2a24c86766ac 100644
--- a/Letux/root/capture.c
+++ b/Letux/root/capture.c
@@ -519,7 +519,7 @@ init_device (void)
fmt.fmt.pix.height = 1024;
// fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_YUYV;
fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY;
- fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;
+ //fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;
if (-1 == xioctl (fd, VIDIOC_S_FMT, &fmt))
errno_exit ("VIDIOC_S_FMT");
--
2.11.0
More information about the Letux-kernel
mailing list