mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Change ExportTest assertion to allow mismatching level
Due to differences in MediaCodec behavior between minor Android versions, this test was flaky. PiperOrigin-RevId: 652841512
This commit is contained in:
parent
1c3fe20826
commit
f68cf30791
1 changed files with 2 additions and 2 deletions
|
|
@ -435,7 +435,7 @@ public class ExportTest {
|
|||
assertThat(result.exportResult.durationMs).isAtMost(700);
|
||||
assertThat(result.exportResult.videoConversionProcess)
|
||||
.isEqualTo(CONVERSION_PROCESS_TRANSMUXED_AND_TRANSCODED);
|
||||
int higherVideoLevel = 41;
|
||||
assertThat(sps[spsLevelIndex]).isEqualTo(higherVideoLevel);
|
||||
int inputVideoLevel = 41;
|
||||
assertThat((int) sps[spsLevelIndex]).isAtLeast(inputVideoLevel);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue