HDR: Use local instead of remote file for testing.

This should allow us to focus on HDR failures instead of network buffering
failures when debugging HDR issues.

These files are each used on several files, so it should be more worth the
test binary impact to move these files to local first.

Locally, tests did take less time after this diff

PiperOrigin-RevId: 496398130
This commit is contained in:
huangdarwin 2022-12-19 15:49:24 +00:00 committed by Tianyi Feng
parent cd70a5cef5
commit 597fa3f694
2 changed files with 2 additions and 4 deletions

View file

@ -93,8 +93,7 @@ public final class AndroidTestUtil {
.setFrameRate(30.472f)
.build();
public static final String MP4_REMOTE_1080P_5_SECOND_HLG10 =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/Pixel7Pro_HLG_1080P.mp4";
public static final String MP4_REMOTE_1080P_5_SECOND_HLG10 = "asset:///media/mp4/hlg-1080p.mp4";
public static final Format MP4_REMOTE_1080P_5_SECOND_HLG10_FORMAT =
new Format.Builder()
.setSampleMimeType(VIDEO_H265)
@ -108,8 +107,7 @@ public final class AndroidTestUtil {
C.COLOR_TRANSFER_HLG,
/* hdrStaticInfo= */ null))
.build();
public static final String MP4_REMOTE_1080P_4_SECOND_HDR10 =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/samsung-s21-hdr-hdr10.mp4";
public static final String MP4_REMOTE_1080P_4_SECOND_HDR10 = "asset:///media/mp4/hdr10-1080p.mp4";
public static final Format MP4_REMOTE_1080P_4_SECOND_HDR10_FORMAT =
new Format.Builder()
.setSampleMimeType(VIDEO_H265)

Binary file not shown.