Change crop struct to match height for 16 by 9 mode. Addresses #7321#7328
Change crop struct to match height for 16 by 9 mode. Addresses #7321#7328pelwell merged 1 commit intoraspberrypi:rpi-6.12.yfrom
Conversation
|
Thanks for the PR. The fix looks fine (it's not too involved, after all!), I think it's just complaining about the commit message format. Maybe just have a look at some of the other commits made to this file and copy one of those (with a subject line usually starting with a list of parent folders, and a Signed-off-by line). Do ask if you have any questions. Thanks! |
|
The code change itself looks OK - you've changed a number, so the new value is either correct or it isn't. Not my department. If you look at the results of the automated checks above you'll see that checkpatch has some objections: It would be great if you could:
If you have configured git correctly you can just include the |
Struct definition doesn't match the cropped height of the mode causing Picamera2 ScalerCrop to distort any cropped images. Also causes the rpi-cam apps --list-cameras to report an incorrect mode crop height. Signed-off-by: Sandy Sutherland <ao_sutherland@outlook.com>
|
Thanks for the guidance. commit 05f881cf306a81beb27c7a0fcd7a6b6dc47f9421 (HEAD -> mode_3_Fix) But have failed to understand/follow the correct steps to incorporate this in PR. Any suggestions/guidance? Thanks Sandy |
|
After amending a commit, |
|
If you've amended your local branch, |
|
Thanks for the guidance all. Edit. I see it is still failing. I can try again later with a shorter text line and making sure the github name and signed-off-by name match? |
|
It's fine - the email address vs GitHub handle doesn't matter to us, and we get a chance to fix a single commit message by squashing it. Thanks for your submission. |
Proposed correction to the struct definition of the full resolution 16:9 cropped modes to reflect the actual cropped height.
Tested and resolves both the issue of offset and distorted ScalerCrop images in Picamera2, and the crop definitions returned by rpi-cam apps --list-cameras.