Created
March 21, 2016 08:43
-
-
Save kimmoli/9bc5ccab931885b35627 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apply this to /usr/share/jolla-camera/pages/capture/CaptureView.qml | |
EDIT: Setting this to 0, backend makes optimal selection for framerate | |
http://doc.qt.io/qt-5/qcameraviewfindersettings.html#setMaximumFrameRate | |
diff --git a/CaptureView.qml b/CaptureView.qml | |
index 3ee90bb..df03e68 100644 | |
--- a/CaptureView.qml | |
+++ b/CaptureView.qml | |
@@ -338,8 +338,8 @@ FocusScope { | |
viewfinder { | |
resolution: Settings.mode.viewfinderResolution | |
- minimumFrameRate: 30 | |
- maximumFrameRate: 30 | |
+ minimumFrameRate: 0 | |
+ maximumFrameRate: 0 | |
} | |
metaData { | |
Alternatively, those 2 lines can just be removed. those defaults to 0. Reduces number of hc values | |
diff --git a/CaptureView.qml b/CaptureView.qml | |
index 3ee90bb..df03e68 100644 | |
--- a/CaptureView.qml | |
+++ b/CaptureView.qml | |
@@ -338,8 +338,8 @@ FocusScope { | |
viewfinder { | |
resolution: Settings.mode.viewfinderResolution | |
- minimumFrameRate: 30 | |
- maximumFrameRate: 30 | |
} | |
metaData { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment