Searched refs:maxDurationDiffUs (Results 1 – 1 of 1) sorted by relevance
669 final long maxDurationDiffUs = webm ? 50000 : 0; // 50ms for webm in testMuxer() local675 assertTrue("different formats", compareFormats(format1, format2, maxDurationDiffUs)); in testMuxer()684 player1.getDuration(), player2.getDuration(), maxDurationDiffUs * 0.001); in testMuxer()721 private boolean compareFormats(MediaFormat f1, MediaFormat f2, long maxDurationDiffUs) { in compareFormats() argument725 if (maxDurationDiffUs > 0 in compareFormats()728 - f2.getLong(KEY_DURATION)) <= maxDurationDiffUs) { in compareFormats()