summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-05-20 11:56:06 -0700
committerJames Dong <jdong@google.com>2010-05-20 12:01:29 -0700
commitec9e76f92155a454ab07ff2cdcbe20283613830d (patch)
tree10683efb947991ae7fcfa75242841f138288eb2d /media/libmediaplayerservice
parent8db443d3a0d3f8494b2f827a4700b30325424104 (diff)
downloadframeworks_base-ec9e76f92155a454ab07ff2cdcbe20283613830d.zip
frameworks_base-ec9e76f92155a454ab07ff2cdcbe20283613830d.tar.gz
frameworks_base-ec9e76f92155a454ab07ff2cdcbe20283613830d.tar.bz2
Workaround for preview frame rate setting and encoder profile and level settings on passion
1. QCOM camera HAL does not honor the preview frame rate set request. see bug - 2701282 2. QCOM video encoder has lots of 0-length output buffers if the default level setting is changed. see bug - 2660974 Change-Id: Id01d94bb77dc242c4712d56a91b0d69a96ba6c2f
Diffstat (limited to 'media/libmediaplayerservice')
-rw-r--r--media/libmediaplayerservice/StagefrightRecorder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.cpp b/media/libmediaplayerservice/StagefrightRecorder.cpp
index 8404779..de64714 100644
--- a/media/libmediaplayerservice/StagefrightRecorder.cpp
+++ b/media/libmediaplayerservice/StagefrightRecorder.cpp
@@ -584,8 +584,8 @@ status_t StagefrightRecorder::startMPEG4Recording() {
// Check on video frame rate
int frameRate = newCameraParams.getPreviewFrameRate();
if (frameRate < 0 || (frameRate - mFrameRate) != 0) {
- LOGE("Failed to set frame rate to %d", mFrameRate);
- return UNKNOWN_ERROR;
+ LOGE("Failed to set frame rate to %d fps. The actual "
+ "frame rate is %d", mFrameRate, frameRate);
}
CHECK_EQ(OK, mCamera->setPreviewDisplay(mPreviewSurface));