techyian / MMALSharp

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

Single framerate, resolution and encoding config properties #140

Closed techyian closed 4 years ago

techyian commented 4 years ago

Related to #138.

To reduce confusion I think it would be better to merge the still, video and preview config properties for framerate, resolution and encoding into a single property.

To clarify, below would be the final config properties and each camera port would share the same value:

MMALCameraConfig.Resolution
MMALCameraConfig.Framerate
MMALCameraConfig.Encoding
MMALCameraConfig.EncodingSubFormat