Fix the setSize typo

pull/1198/head
DeweyReed 3 years ago committed by GitHub
parent ae3f3da0e1
commit 27c856d12f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cameraview/src/main/java/com/otaliastudios/cameraview/video/SnapshotVideoRecorder.java

@ -245,7 +245,7 @@ public class SnapshotVideoRecorder extends VideoRecorder implements RendererFram
// Adjustment
mResult.rotation = 0; // We will rotate the result instead.
mCurrentFilter.setSize(mResult.size.getWidth(), mResult.size.getWidth());
mCurrentFilter.setSize(mResult.size.getWidth(), mResult.size.getHeight());
// Audio
AudioMediaEncoder audioEncoder = null;

Loading…
Cancel
Save