diff options
author | Yu Shan Emily Lau <yslau@google.com> | 2012-03-01 15:35:43 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-03-01 15:35:43 -0800 |
commit | 8790b57588171126fbdaba1a65ba9269be2a5baf (patch) | |
tree | 00dcde9cbb4bbc68c530e16b65fab42695be626c /media/tests | |
parent | 7edb9a94908f41b9dc3aa13d2089efa304f12c22 (diff) | |
parent | 353b61a87d9eb0ee223bdda76c30a1364441d962 (diff) | |
download | frameworks_base-8790b57588171126fbdaba1a65ba9269be2a5baf.zip frameworks_base-8790b57588171126fbdaba1a65ba9269be2a5baf.tar.gz frameworks_base-8790b57588171126fbdaba1a65ba9269be2a5baf.tar.bz2 |
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.
Diffstat (limited to 'media/tests')
-rw-r--r-- | media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ public class MediaRecorderStressTest extends ActivityInstrumentationTestCase2<Me 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(); |