am 92b27daf: Merge change 25858 into eclair
Merge commit '92b27dafe9418c5fdf63d23c6b19772fbcd74676' into eclair-plus-aosp * commit '92b27dafe9418c5fdf63d23c6b19772fbcd74676': 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:
@@ -214,6 +214,7 @@ public class MediaRecorderTest extends ActivityInstrumentationTestCase<MediaFram
|
|||||||
Log.v(TAG, "before getduration");
|
Log.v(TAG, "before getduration");
|
||||||
mOutputDuration = mediaPlayer.getDuration();
|
mOutputDuration = mediaPlayer.getDuration();
|
||||||
Log.v(TAG, "get video dimension");
|
Log.v(TAG, "get video dimension");
|
||||||
|
Thread.sleep(1000);
|
||||||
mOutputVideoHeight = mediaPlayer.getVideoHeight();
|
mOutputVideoHeight = mediaPlayer.getVideoHeight();
|
||||||
mOutputVideoWidth = mediaPlayer.getVideoWidth();
|
mOutputVideoWidth = mediaPlayer.getVideoWidth();
|
||||||
//mOutputVideoHeight = CodecTest.videoHeight(outputFilePath);
|
//mOutputVideoHeight = CodecTest.videoHeight(outputFilePath);
|
||||||
@@ -416,7 +417,7 @@ public class MediaRecorderTest extends ActivityInstrumentationTestCase<MediaFram
|
|||||||
MediaRecorder.OutputFormat.THREE_GPP, MediaNames.RECORDED_VIDEO_3GP, false);
|
MediaRecorder.OutputFormat.THREE_GPP, MediaNames.RECORDED_VIDEO_3GP, false);
|
||||||
assertTrue("Invalid video Size", isTestInvalidVideoSizeSuccessful);
|
assertTrue("Invalid video Size", isTestInvalidVideoSizeSuccessful);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Suppress
|
@Suppress
|
||||||
@LargeTest
|
@LargeTest
|
||||||
public void testInvalidFrameRate() throws Exception {
|
public void testInvalidFrameRate() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user