Skip to content

Instantly share code, notes, and snippets.

@Mm7
Last active August 29, 2015 14:03
Show Gist options
  • Save Mm7/3aa68fecd22ec43d0bb7 to your computer and use it in GitHub Desktop.
Save Mm7/3aa68fecd22ec43d0bb7 to your computer and use it in GitHub Desktop.
Video recording patch, still not work (640x480)
diff --git a/prebuilt/etc/media_profiles_5mp.xml b/prebuilt/etc/media_profiles
index f56a9ef..c7f4198 100644
--- a/prebuilt/etc/media_profiles_5mp.xml
+++ b/prebuilt/etc/media_profiles_5mp.xml
@@ -84,7 +84,7 @@
<CamcorderProfiles cameraId="0">
<!-- lowest supported profile in kitkat :) -->
- <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
+ <EncoderProfile quality="vga" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="1500000"
width="640"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment