diff options
author | Andrew Dodd <atd7@cornell.edu> | 2012-05-16 18:35:09 -0400 |
---|---|---|
committer | Andrew Dodd <atd7@cornell.edu> | 2012-05-20 11:30:44 -0400 |
commit | 4c80cb064483ffb253e8e9c62db0ede24f26d036 (patch) | |
tree | a365949a1bdbacc026aaea854c63ae5a228df535 | |
parent | 486aeb1997f84403e0b73fa86c262c51cbd95347 (diff) | |
download | device_samsung_n7000-4c80cb064483ffb253e8e9c62db0ede24f26d036.zip device_samsung_n7000-4c80cb064483ffb253e8e9c62db0ede24f26d036.tar.gz device_samsung_n7000-4c80cb064483ffb253e8e9c62db0ede24f26d036.tar.bz2 |
n7000: set early video size on video recording
n7000 version of http://review.cyanogenmod.com/#/c/15276/
Change-Id: Id05b5ade81a50f306773dee916782a4f79f2f52a
-rw-r--r-- | camera/CameraWrapper.cpp | 1 | ||||
-rw-r--r-- | overlay/packages/apps/Camera/res/values/config.xml | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/camera/CameraWrapper.cpp b/camera/CameraWrapper.cpp index 144b5d3..a605b08 100644 --- a/camera/CameraWrapper.cpp +++ b/camera/CameraWrapper.cpp @@ -125,7 +125,6 @@ char * camera_fixup_setparams(int id, const char * settings) if(params.get("cam_mode")) { const char* previewSize = params.get(android::CameraParameters::KEY_PREVIEW_SIZE); - params.set(android::CameraParameters::KEY_VIDEO_SIZE, previewSize); params.set(android::CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, previewSize); params.set(android::CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, video_preview_sizes[id]); } diff --git a/overlay/packages/apps/Camera/res/values/config.xml b/overlay/packages/apps/Camera/res/values/config.xml index 65687b6..472a0b2 100644 --- a/overlay/packages/apps/Camera/res/values/config.xml +++ b/overlay/packages/apps/Camera/res/values/config.xml @@ -18,6 +18,10 @@ --> <resources> - <!-- Samsung Camcorder Mode --> - <bool name="needsSamsungCamMode">true</bool> + <!-- Allows setting video size before recording starts --> + <bool name="needsEarlyVideoSize">true</bool> + <!-- Samsung Camcorder Mode --> + <bool name="needsSamsungCamMode">true</bool> + <!-- Samsung Camera Settings --> + <bool name="hasSamsungCamSettings">true</bool> </resources> |