import CameraPlus 1.0
// TODO: flash not ready (battery low or flash not ready message)
-// TODO: front camera night mode
CameraPage {
id: root
}
onImageAspectRatioChanged: {
- imageSettings.setImageResolution()
+ if (!root.deviceChangeInProgress) {
+ imageSettings.setImageResolution()
+ }
}
onImageResolutionChanged: {
- imageSettings.setImageResolution()
+ if (!root.deviceChangeInProgress) {
+ imageSettings.setImageResolution()
+ }
}
onVideoResolutionChanged: {
- videoSettings.setVideoResolution()
+ if (!root.deviceChangeInProgress) {
+ videoSettings.setVideoResolution()
+ }
+ }
+
+ onVideoAspectRatioChanged: {
+ if (!root.deviceChangeInProgress) {
+ videoSettings.setVideoResolution()
+ }
}
}
imagePath: platformSettings.imagePath
videoPath: platformSettings.videoPath
temporaryVideoPath: platformSettings.temporaryVideoPath
+ settings: settings
}
MountProtector {