mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Skip 1080p test on Nexus 7, API 21
This device doesn't seem to be capable of simultaneous encode/decode at this resolution. We don't have a good way to check the capability (we are already checking separate decode/encode capability) so just skip this test to save time triaging its failures. PiperOrigin-RevId: 600399564
This commit is contained in:
parent
d1d03189eb
commit
e82393ed41
1 changed files with 3 additions and 0 deletions
|
|
@ -52,9 +52,12 @@ public final class TranscodeQualityTest {
|
|||
/* outputFormat= */ AndroidTestUtil.MP4_ASSET_WITH_INCREASING_TIMESTAMPS_FORMAT)) {
|
||||
return;
|
||||
}
|
||||
// Skip on specific pre-API 34 devices where calculating SSIM fails.
|
||||
assumeFalse(
|
||||
(Util.SDK_INT < 33 && (Util.MODEL.equals("SM-F711U1") || Util.MODEL.equals("SM-F926U1")))
|
||||
|| (Util.SDK_INT == 33 && Util.MODEL.equals("LE2121")));
|
||||
// Skip on specific API 21 devices that aren't able to decode and encode at this resolution.
|
||||
assumeFalse(Util.SDK_INT == 21 && Util.MODEL.equals("Nexus 7"));
|
||||
Transformer transformer =
|
||||
new Transformer.Builder(context)
|
||||
.setVideoMimeType(MimeTypes.VIDEO_H264)
|
||||
|
|
|
|||
Loading…
Reference in a new issue