fix: exposure depends on device

This commit is contained in:
Marc Rousavy 2023-11-19 15:50:47 +01:00
parent 3bd84a4215
commit 73b9efb94b
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321

View File

@ -118,8 +118,8 @@ class CameraConfiguration {
torchChanged = left?.isActive != right.isActive || left?.torch != right.torch torchChanged = left?.isActive != right.isActive || left?.torch != right.torch
// zoom (depends on format) // zoom (depends on format)
zoomChanged = formatChanged || left?.zoom != right.zoom zoomChanged = formatChanged || left?.zoom != right.zoom
// exposure (depends on format) // exposure (depends on device)
exposureChanged = formatChanged || left?.exposure != right.exposure exposureChanged = inputChanged || left?.exposure != right.exposure
// audio session // audio session
audioSessionChanged = left?.audio != right.audio audioSessionChanged = left?.audio != right.audio