diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 3 |
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); } |