mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Added a workaround for low framerate issue on Nexus 4 (#959)
* Added a workaround for low framerate issue on Nexus 4 * Move setRecordingHint to general camera configuration * change the location of setRecordingHint
This commit is contained in:
parent
c8da0c1a94
commit
c3d649f6ab
|
@ -179,6 +179,10 @@ final class CameraConfigurationManager {
|
|||
CameraConfigurationUtils.setMetering(parameters);
|
||||
}
|
||||
|
||||
//SetRecordingHint to true also a workaround for low framerate on Nexus 4
|
||||
//https://stackoverflow.com/questions/14131900/extreme-camera-lag-on-nexus-4
|
||||
parameters.setRecordingHint(true);
|
||||
|
||||
}
|
||||
|
||||
parameters.setPreviewSize(bestPreviewSize.x, bestPreviewSize.y);
|
||||
|
|
Loading…
Reference in a new issue