Fix the setSize typo (#1198)

main
DeweyReed 2 years ago committed by GitHub
parent ae3f3da0e1
commit e26ac950be
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