Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

fix: correct v4l2_frmsize_stepwise field#9

Open
KarimAziev wants to merge 2 commits intoRaspberryPiFoundation:mainfrom
KarimAziev:main
Open

fix: correct v4l2_frmsize_stepwise field#9
KarimAziev wants to merge 2 commits intoRaspberryPiFoundation:mainfrom
KarimAziev:main

Conversation

@KarimAziev
Copy link
Copy Markdown

Replaced the duplicated field min_height with the correct field max_width in the v4l2_frmsize_stepwise structure.

The v4l2_frmsize_stepwise structure did not align with its definition in linux/videodev2.h, where it specifies a max_width field.

This mismatch caused crashes when performing frame size enumeration (VIDIOC_ENUM_FRAMESIZES) with stepwise modes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant