Skip to content

Commit fbab086

Browse files
James DongAndroid (Google) Code Review
authored andcommitted
Merge "MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile"
2 parents 0e23c2e + d8f7c2c commit fbab086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public void run() {
205205
mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
206206
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
207207
mRecorder.setOutputFile(filename);
208-
mRecorder.setVideoFrameRate(20);
208+
mRecorder.setVideoFrameRate(MediaRecorderStressTestRunner.mFrameRate);
209209
mRecorder.setVideoSize(176,144);
210210
Log.v(TAG, "setEncoder");
211211
mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
@@ -269,7 +269,7 @@ public void run() {
269269
mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
270270
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
271271
mRecorder.setOutputFile(filename);
272-
mRecorder.setVideoFrameRate(20);
272+
mRecorder.setVideoFrameRate(MediaRecorderStressTestRunner.mFrameRate);
273273
mRecorder.setVideoSize(176,144);
274274
Log.v(TAG, "Media recorder setEncoder");
275275
mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);

0 commit comments

Comments
 (0)