Set the video resolution when video aspect ratio gets changed
[harmattan/cameraplus] / qml / MainPage.qml
index d45fac0..9cfa645 100644 (file)
@@ -115,6 +115,12 @@ CameraPage {
                 videoSettings.setVideoResolution()
             }
         }
+
+        onVideoAspectRatioChanged: {
+            if (!root.deviceChangeInProgress) {
+                videoSettings.setVideoResolution()
+            }
+        }
     }
 
     PipelineManager {