kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix issue with bad camera quality on some devices.
There appears to be a weird bucketing thing that happens on some devices, where if you give them a resolution that's too small, it'll default you to some potato resolution. So we just bumped it up to 1920x1920, and that seems to be working on my swath of devices.fork-5.53.8
rodzic
ff3890cc12
commit
a8dbfd812d
|
@ -243,7 +243,7 @@ final class CameraXModule {
|
|||
mImageCaptureConfigBuilder.setTargetRotation(getDisplaySurfaceRotation());
|
||||
mImageCaptureConfigBuilder.setLensFacing(mCameraLensFacing);
|
||||
mImageCaptureConfigBuilder.setCaptureMode(CameraXUtil.getOptimalCaptureMode());
|
||||
mImageCaptureConfigBuilder.setTargetResolution(new Size(1920, 1080));
|
||||
mImageCaptureConfigBuilder.setTargetResolution(new Size(1920, 1920));
|
||||
mImageCapture = new ImageCapture(mImageCaptureConfigBuilder.build());
|
||||
|
||||
mVideoCaptureConfigBuilder.setTargetRotation(getDisplaySurfaceRotation());
|
||||
|
|
Ładowanie…
Reference in New Issue