Skip to content

Instantly share code, notes, and snippets.

@kimmoli

kimmoli/CaptureView.diff Secret

Last active Mar 21, 2016
Embed
What would you like to do?
onyx rear camera
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
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
+ minimumFrameRate: 0
+ maximumFrameRate: 0
}
metaData {
Apply these changes
https://github.com/kimmoli/droid-config-onyx/commit/dd8d5ef1df2fbb918c1b0e4cdcae02d6da24e671
or for quick testings:
dconf write /apps/jolla-camera/primary/video/viewfinderResolution "'1920x1080'"
dconf write /apps/jolla-camera/primary/video/videoResolution "'1920x1080'"
dconf write /apps/jolla-camera/primary/video/imageResolution "'1920x1080'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.