mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Increase FrameExtractorTest timeout
FrameExtractorTest.extractFrame_pastDuration_returnsLastFrame is sometimes timing out on emulator because it's too slow. PiperOrigin-RevId: 715771071
This commit is contained in:
parent
fa4cc7c65c
commit
c5feb28838
@ -66,7 +66,7 @@ public class FrameExtractorTest {
|
||||
"test-generated-goldens/FrameExtractorTest/";
|
||||
private static final String FILE_PATH =
|
||||
"asset:///media/mp4/sample_with_increasing_timestamps_360p.mp4";
|
||||
private static final long TIMEOUT_SECONDS = 10;
|
||||
private static final long TIMEOUT_SECONDS = 20;
|
||||
// TODO: b/350498258 - Due to bugs in hardware decoders, we can only assert for low PSNR values.
|
||||
// Move to using software decoders in pixel tests, and increase PSNR threshold.
|
||||
private static final float PSNR_THRESHOLD = 25f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user