Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int rr = 0;
- if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) {
- rr = (mLastRotation * 90 + 90) % 360;
- rr = (360 - rr) % 360;
- } else {
- rr = (mLastRotation * 90 + 90) % 360;
- }
- System.out.println("DEBUG 4: " + rr);
- video_recorder.setOrientationHint(rr);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement