diff options
-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> |