Merge change 25858 into eclair

* changes:
  There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension
This commit is contained in:
Android (Google) Code Review
2009-09-18 23:07:00 -04:00

View File

@@ -214,6 +214,7 @@ public class MediaRecorderTest extends ActivityInstrumentationTestCase<MediaFram
Log.v(TAG, "before getduration");
mOutputDuration = mediaPlayer.getDuration();
Log.v(TAG, "get video dimension");
Thread.sleep(1000);
mOutputVideoHeight = mediaPlayer.getVideoHeight();
mOutputVideoWidth = mediaPlayer.getVideoWidth();
//mOutputVideoHeight = CodecTest.videoHeight(outputFilePath);
@@ -416,7 +417,7 @@ public class MediaRecorderTest extends ActivityInstrumentationTestCase<MediaFram
MediaRecorder.OutputFormat.THREE_GPP, MediaNames.RECORDED_VIDEO_3GP, false);
assertTrue("Invalid video Size", isTestInvalidVideoSizeSuccessful);
}
@Suppress
@LargeTest
public void testInvalidFrameRate() throws Exception {