summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-09-28 13:07:02 -0700
committerJames Dong <jdong@google.com>2010-09-28 13:51:53 -0700
commit655327c6eb292b0647c603bfcf0c677a21a92fc6 (patch)
treeb99c7913c08afd77f4cef5bfef66cc87b55c68d2 /src
parent141e3cc66815fafce690c889269a30ce7e06c4da (diff)
downloadLegacyCamera-655327c6eb292b0647c603bfcf0c677a21a92fc6.zip
LegacyCamera-655327c6eb292b0647c603bfcf0c677a21a92fc6.tar.gz
LegacyCamera-655327c6eb292b0647c603bfcf0c677a21a92fc6.tar.bz2
Handle multiple camcorder profiles for different cameras
Change-Id: Ie15d829d20ffc0aaa470f0385e23055a95778a1b
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/VideoCamera.java3
1 files changed, 2 insertions, 1 deletions
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 @@ public class VideoCamera extends NoSearchActivity
mMaxVideoDurationInMs =
CameraSettings.getVidoeDurationInMillis(quality);
}
- mProfile = CamcorderProfile.get(videoQualityHigh
+ mProfile = CamcorderProfile.get(mCameraId,
+ videoQualityHigh
? CamcorderProfile.QUALITY_HIGH
: CamcorderProfile.QUALITY_LOW);
}