techyian / MMALSharp

C# wrapper to Broadcom's MMAL with an API to the Raspberry Pi camera.
MIT License
195 stars 33 forks source link

Frame width/height not set correctly #27

Closed techyian closed 7 years ago

techyian commented 7 years ago

Since bringing in the ability to capture raw image data from the still port, a sly bug has arose whereby the frame buffer width/height values are not set correctly from the MMAL_VIDEO_FORMAT_T struct. The struct members seem to be out by 16 bytes. Confirmed the bug by setting values against the struct members in MMAL_AUDIO_FORMAT_T.

techyian commented 7 years ago

https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=183596