fix: Also exposure

This commit is contained in:
Marc Rousavy
2023-11-19 15:51:33 +01:00
parent 73b9efb94b
commit ba0aa88cb9

View File

@@ -95,10 +95,10 @@ class CameraConfiguration {
/**
Returns `true` when props that affect the AVCaptureDevice configuration (i.e. props that require lockForConfiguration()) have changed.
[`formatChanged`, `sidePropsChanged`, `zoomChanged`]
[`formatChanged`, `sidePropsChanged`, `zoomChanged`, `exposureChanged`]
*/
var isDeviceConfigurationDirty: Bool {
return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged
return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged || exposureChanged
}
init(between left: CameraConfiguration?, and right: CameraConfiguration) {