From c7ae4191d35f04bf011c403535cc54d6b79bf16e Mon Sep 17 00:00:00 2001 From: klemek Date: Sun, 23 Nov 2025 15:04:21 +0100 Subject: [PATCH] fix(video): better fps for interlaced --- src/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.c b/src/video.c index c44a2ca..e8e15b4 100644 --- a/src/video.c +++ b/src/video.c @@ -171,7 +171,7 @@ static bool set_format(VideoCapture *video_capture) { fmt.fmt.pix.width = video_capture->width; fmt.fmt.pix.height = video_capture->height; fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_YUYV; - fmt.fmt.pix.field = V4L2_FIELD_ANY; + fmt.fmt.pix.field = V4L2_FIELD_INTERLACED; if (ioctl(video_capture->fd, VIDIOC_S_FMT, &fmt) == -1) { fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;