commit | 8790b57588171126fbdaba1a65ba9269be2a5baf | [log] [tgz] |
---|---|---|
author | Yu Shan Emily Lau <yslau@google.com> | Thu Mar 01 15:35:43 2012 -0800 |
committer | Android Git Automerger <android-git-automerger@android.com> | Thu Mar 01 15:35:43 2012 -0800 |
tree | 00dcde9cbb4bbc68c530e16b65fab42695be626c | |
parent | 7edb9a94908f41b9dc3aa13d2089efa304f12c22 [diff] | |
parent | 353b61a87d9eb0ee223bdda76c30a1364441d962 [diff] |
am 353b61a8: am 0ddfe24a: am eb4f3256: Set the video encoding bit rate for the media recorder stress test. * commit '353b61a87d9eb0ee223bdda76c30a1364441d962': Set the video encoding bit rate for the media recorder stress test.
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();