Adjust the min and max frame rate settings for camcorder apps
These settings are configured by the SoC vendors to make sure that
both Camera and Video Encoder components are capable of recording videos
using Camera source with the min and max frame rates. Not necessarily all
the frame rates in between have to be supported, but the end point values (
i.e., the min and max values) must be supported.
On Manta, the min and max frame rates that the Camera supports is 15fps and 30fps,
respectively, according to SLSI camera engineers. This patch simply corrects
the settings to reflect the capability.
Bug: 7246962
Change-Id: Icf4a9ebcf4f8c742a943a1a07a994df5bb60475d
diff --git a/media_profiles.xml b/media_profiles.xml
index 9900215..3e7ac24 100644
--- a/media_profiles.xml
+++ b/media_profiles.xml
@@ -250,19 +250,19 @@
minBitRate="64000" maxBitRate="12000000"
minFrameWidth="128" maxFrameWidth="1920"
minFrameHeight="96" maxFrameHeight="1080"
- minFrameRate="7" maxFrameRate="60" />
+ minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="1000000"
minFrameWidth="128" maxFrameWidth="1920"
minFrameHeight="96" maxFrameHeight="1080"
- minFrameRate="7" maxFrameRate="60" />
+ minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="128" maxFrameWidth="1920"
minFrameHeight="96" maxFrameHeight="1080"
- minFrameRate="7" maxFrameRate="60" />
+ minFrameRate="15" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8192" maxBitRate="96000"