commit | eb4f3256b77fe7fd783297a550a64ea441c41169 | [log] [tgz] |
---|---|---|
author | Yu Shan Emily Lau <yslau@google.com> | Wed Feb 29 15:57:21 2012 -0800 |
committer | Yu Shan Emily Lau <yslau@google.com> | Wed Feb 29 15:57:21 2012 -0800 |
tree | 56727e5f9a66188528b4f3aa22d35e6acab72f2d | |
parent | fb393f8bd79602c933dc829bd36070dd78be2872 [diff] |
Set the video encoding bit rate for the media recorder stress test. Change-Id: I1fa5965d2ba0e17be97ff3b9bd8df3df4e438087
diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java index 73ee4dd..5e649e0 100644 --- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java +++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
@@ -365,6 +365,7 @@ mRecorder.setVideoSize(video_width, video_height); mRecorder.setVideoEncoder(video_encoder); mRecorder.setAudioEncoder(audio_encoder); + mRecorder.setVideoEncodingBitRate(bit_rate); Log.v(TAG, "mediaRecorder setPreview"); mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); mRecorder.prepare();