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