From fecf2039d841f6b4bdf5800a277f6a3da91060fe Mon Sep 17 00:00:00 2001 From: shizhenghui Date: Fri, 12 Apr 2024 21:19:20 +0800 Subject: [PATCH] videoio: modify the v4l2_pix_format type is the same as mplane Signed-off-by: shizhenghui --- include/sys/videoio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sys/videoio.h b/include/sys/videoio.h index c06c7858ef..06eed41346 100644 --- a/include/sys/videoio.h +++ b/include/sys/videoio.h @@ -899,8 +899,8 @@ struct v4l2_frmivalenum struct v4l2_pix_format { - uint16_t width; /* Image width in pixels */ - uint16_t height; /* Image height in pixels */ + uint32_t width; /* Image width in pixels */ + uint32_t height; /* Image height in pixels */ uint32_t pixelformat; /* The pixel format or type of compression. */ uint32_t field; /* enum #v4l2_field */ uint32_t bytesperline; /* For padding, zero if unused */