drivers/video: Add elems setting

Add elems setting to ioctl(VIDIOC_QUERY_EXT_CTRL)
for V4L2 compatibility.
This commit is contained in:
SPRESENSE 2024-01-18 16:51:02 +09:00 committed by Alin Jerpelea
parent fd5c2d4922
commit 865c88e34b
1 changed files with 1 additions and 0 deletions

View File

@ -2152,6 +2152,7 @@ static int video_query_ext_ctrl(FAR struct video_mng_s *vmng,
attr->flags = 0;
attr->elem_size = 0;
attr->elems = 1;
attr->nr_of_dims = 0;
memset(attr->dims, 0, sizeof(attr->dims));