pull/325/head
Hoony 7 years ago
parent 781ff22d2a
commit 99e822c34d
  1. 1
      cameraview/src/main/java/com/otaliastudios/cameraview/Camera1.java

@ -700,6 +700,7 @@ class Camera1 extends CameraController implements Camera.PreviewCallback, Camera
CamcorderProfile profile = getCamcorderProfile();
mMediaRecorder.setOutputFormat(profile.fileFormat);
mMediaRecorder.setVideoFrameRate(profile.videoFrameRate);
// TODO(yonghoon): Revert this after testing the jitpack repository.
// mMediaRecorder.setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight);
mMediaRecorder.setVideoSize(414, 736);
if (mVideoCodec == VideoCodec.DEFAULT) {

Loading…
Cancel
Save