|
|
|
@ -700,7 +700,8 @@ class Camera1 extends CameraController implements Camera.PreviewCallback, Camera |
|
|
|
|
CamcorderProfile profile = getCamcorderProfile(); |
|
|
|
|
mMediaRecorder.setOutputFormat(profile.fileFormat); |
|
|
|
|
mMediaRecorder.setVideoFrameRate(profile.videoFrameRate); |
|
|
|
|
mMediaRecorder.setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight); |
|
|
|
|
// mMediaRecorder.setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight);
|
|
|
|
|
mMediaRecorder.setVideoSize(414, 736); |
|
|
|
|
if (mVideoCodec == VideoCodec.DEFAULT) { |
|
|
|
|
mMediaRecorder.setVideoEncoder(profile.videoCodec); |
|
|
|
|
} else { |
|
|
|
|