techyian / MMALSharp

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

BufferNumRecommended and BufferSizeRecommended not being set #52

Closed techyian closed 6 years ago

techyian commented 6 years ago

Investigate what's happening here. BufferNumRecommended is always 0 and BufferSizeRecommended is always 1. Up until now I've managed to work around this by using BufferNumMin/BufferSizeMin but I believe this is causing #23 .

techyian commented 6 years ago

MMAL_PORT_T struct is laid out wrong. Doh!

techyian commented 6 years ago

23 still an issue even with this fixed.