diff --git a/src/xrt/drivers/v4l2/v4l2_driver.c b/src/xrt/drivers/v4l2/v4l2_driver.c index 9319a0f10..974b6b110 100644 --- a/src/xrt/drivers/v4l2/v4l2_driver.c +++ b/src/xrt/drivers/v4l2/v4l2_driver.c @@ -490,6 +490,7 @@ v4l2_list_modes_size(struct v4l2_fs *vid, enum xrt_format format = (enum xrt_format)0; switch (interval.pixel_format) { case V4L2_PIX_FMT_YUYV: format = XRT_FORMAT_YUYV422; break; + case V4L2_PIX_FMT_UYVY: format = XRT_FORMAT_UYVY422; break; case V4L2_PIX_FMT_MJPEG: format = XRT_FORMAT_MJPEG; break; default: V_ERROR(vid, "error: Format not supported."); return; } @@ -525,6 +526,7 @@ v4l2_list_modes_fmt(struct v4l2_fs *vid, const struct v4l2_fmtdesc *fmt) switch (fmt->pixelformat) { case V4L2_PIX_FMT_YUYV: break; + case V4L2_PIX_FMT_UYVY: break; case V4L2_PIX_FMT_MJPEG: break; default: V_ERROR(vid, "error: Unknown pixelformat '%s' '%08x'",