commit | 655327c6eb292b0647c603bfcf0c677a21a92fc6 | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Tue Sep 28 13:07:02 2010 -0700 |
committer | James Dong <jdong@google.com> | Tue Sep 28 13:51:53 2010 -0700 |
tree | b99c7913c08afd77f4cef5bfef66cc87b55c68d2 | |
parent | 141e3cc66815fafce690c889269a30ce7e06c4da [diff] |
Handle multiple camcorder profiles for different cameras Change-Id: Ie15d829d20ffc0aaa470f0385e23055a95778a1b
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 531fd1b..a92e33c 100644 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java
@@ -573,7 +573,8 @@ mMaxVideoDurationInMs = CameraSettings.getVidoeDurationInMillis(quality); } - mProfile = CamcorderProfile.get(videoQualityHigh + mProfile = CamcorderProfile.get(mCameraId, + videoQualityHigh ? CamcorderProfile.QUALITY_HIGH : CamcorderProfile.QUALITY_LOW); }