summaryrefslogtreecommitdiffstats
path: root/media/tests
diff options
context:
space:
mode:
authorYu Shan Emily Lau <yslau@google.com>2012-03-01 15:35:43 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-03-01 15:35:43 -0800
commit8790b57588171126fbdaba1a65ba9269be2a5baf (patch)
tree00dcde9cbb4bbc68c530e16b65fab42695be626c /media/tests
parent7edb9a94908f41b9dc3aa13d2089efa304f12c22 (diff)
parent353b61a87d9eb0ee223bdda76c30a1364441d962 (diff)
downloadframeworks_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.java1
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();