mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Allow dolby vision transcode test to use alternative output mime type
On many devices (for example pixel 7) a dolby vision file can be decoded (either using dolby vision decoder or H265 decoder) but they can't be re-encoded to dolby vision. Allow test to encode to H265. The test now passes on pixel 7. It was getting skipped earlier. PiperOrigin-RevId: 711383794
This commit is contained in:
parent
9cc4532f84
commit
01c51d8475
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ public final class HdrEditingTest {
|
|||
assumeDeviceSupportsHdrEditing(
|
||||
testId, format.buildUpon().setSampleMimeType(MimeTypes.VIDEO_H265).build());
|
||||
}
|
||||
assumeFormatsSupported(context, testId, /* inputFormat= */ format, /* outputFormat= */ format);
|
||||
assumeFormatsSupported(context, testId, /* inputFormat= */ format, /* outputFormat= */ null);
|
||||
Transformer transformer = new Transformer.Builder(context).build();
|
||||
MediaItem mediaItem = MediaItem.fromUri(Uri.parse(MP4_ASSET_DOLBY_VISION_HDR.uri));
|
||||
EditedMediaItem editedMediaItem =
|
||||
|
|
|
|||
Loading…
Reference in a new issue