Last active
May 22, 2016 19:09
-
-
Save Mm7/14cf84296dc2f5b78f41 to your computer and use it in GitHub Desktop.
Revert video recording size to 320x240 (fix recording)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/BoardConfig.mk b/BoardConfig.mk | |
index 4bc9042..35df85e 100644 | |
--- a/BoardConfig.mk | |
+++ b/BoardConfig.mk | |
@@ -35,5 +35,4 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/cooper/bluetooth | |
BOARD_CAMERA_USE_GETBUFFERINFO := true | |
BOARD_USE_CAF_LIBCAMERA_GB_REL := true | |
TARGET_PREBUILT_LIBCAMERA := true | |
-TARGET_CAMERA_SENSOR_MP_SIZE := 5 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common.mk b/common.mk | |
index 8bc1ac0..793801f 100644 | |
--- a/common.mk | |
+++ b/common.mk | |
@@ -94,7 +94,7 @@ PRODUCT_COPY_FILES += \ | |
device/samsung/msm7x27-common/prebuilt/etc/media_codecs.xml:system/etc/media_codecs.xml | |
## Media Profiles | |
-ifneq (,$(filter beni cooper,$(CM_BUILD))) | |
+ifneq (,$(filter beni,$(CM_BUILD))) | |
PRODUCT_COPY_FILES += \ | |
device/samsung/msm7x27-common/prebuilt/etc/media_profiles_5mp.xml:system/etc/media_profiles.xml | |
else | |
diff --git a/prebuilt/etc/media_profiles.xml b/prebuilt/etc/media_profiles.xml | |
index 46c21b6..42220cc 100644 | |
--- a/prebuilt/etc/media_profiles.xml | |
+++ b/prebuilt/etc/media_profiles.xml | |
@@ -84,7 +84,7 @@ | |
<CamcorderProfiles cameraId="0"> | |
<!-- lowest supported profile in kitkat :) --> | |
- <EncoderProfile quality="480p" fileFormat="mp4" duration="60"> | |
+ <EncoderProfile quality="qvga" fileFormat="mp4" duration="60"> | |
<Video codec="h264" | |
bitRate="1500000" | |
width="320" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment