Closed KapJI closed 3 months ago
fixes #138
Thanks for the debug!
I just came to say thanks @KapJI ! I spent the last 4 hours troubleshooting my camera then found this. I made the change and instantly I'm up and running!. @ayufan please pull this ASAP. I found my way here from crowsnest and it was not an easy journey lol.
@ayufan Can you pls. "Merge" this again? Seems like the files to download Expired - Or even better make a new "Release"
Where do you set configuration.stride = 0?
For libcamera0.2
configuration.stride
is already set to some incorrect value andconfigurations->validate()
doesn't update it if it's not 0.For libcamera0.1 it was set to 0. So set it to 0 manually to make sure
configurations->validate()
computes the correct value.Before:
After:
Tested both with libcamera0.1 and libcamera0.2 on raspberry pi 4. Errors are gone and streaming works fine with libcamera0.2 finally.
Thanks to @tom-ard for help with debugging.
Fixes #139