DO NOT MERGE relax the iframe interval to 60
- some devices do not support longer interval in L.
- This is only for L and L MR1. M and later must suppport longer interval.
bug: 22983501
Change-Id: I1f31d40eb2d5df13ec1772747638a17a9c0c2ff5
diff --git a/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayTest.java b/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayTest.java
index 3346d40..61fabe5 100755
--- a/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayTest.java
+++ b/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayTest.java
@@ -87,8 +87,7 @@
// Encoder parameters. We use the same width/height as the virtual display.
private static final String MIME_TYPE = MediaFormat.MIMETYPE_VIDEO_AVC;
private static int sFrameRate = 15; // 15fps
- // 100 days between I-frames
- private static final int IFRAME_INTERVAL = 60 * 60 * 24 * 100;
+ private static final int IFRAME_INTERVAL = 60;
private static int sBitRate = 6000000; // 6Mbps
// Colors to test (RGB). These must convert cleanly to and from BT.601 YUV.