|
|
|
@ -427,7 +427,7 @@ public class Camera1 extends CameraImpl { |
|
|
|
|
|
|
|
|
|
mVideoFile = new File(mPreview.getView().getContext().getExternalFilesDir(null), "video.mp4"); |
|
|
|
|
mMediaRecorder.setOutputFile(mVideoFile.getAbsolutePath()); |
|
|
|
|
mMediaRecorder.setOrientationHint(mCameraInfo.orientation); |
|
|
|
|
mMediaRecorder.setOrientationHint(calculatePreviewRotation()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void prepareMediaRecorder() { |
|
|
|
|