Set the video resolution when video aspect ratio gets changed
authorMohammed Sameer <msameer@foolab.org>
Sat, 17 Aug 2013 21:11:58 +0000 (00:11 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sat, 17 Aug 2013 21:11:58 +0000 (00:11 +0300)
This is not used for N9 but it might be used in the future

qml/MainPage.qml

index d45fac0..9cfa645 100644 (file)
@@ -115,6 +115,12 @@ CameraPage {
                 videoSettings.setVideoResolution()
             }
         }
+
+        onVideoAspectRatioChanged: {
+            if (!root.deviceChangeInProgress) {
+                videoSettings.setVideoResolution()
+            }
+        }
     }
 
     PipelineManager {