mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix test setup for exportUltraHdrImageThenHdrVideo_exportsHdr
make sure compostion.experimentalSetRetainHdrFromUltraHdrImage(true) so that we get hdr output PiperOrigin-RevId: 623773784
This commit is contained in:
parent
0b9180aa4f
commit
a154c98faa
1 changed files with 2 additions and 2 deletions
|
|
@ -115,8 +115,8 @@ public final class TransformerMhUltraHdrTest {
|
||||||
public void exportUltraHdrImageThenHdrVideo_exportsHdr() throws Exception {
|
public void exportUltraHdrImageThenHdrVideo_exportsHdr() throws Exception {
|
||||||
assumeDeviceSupportsUltraHdrEditing();
|
assumeDeviceSupportsUltraHdrEditing();
|
||||||
Composition composition =
|
Composition composition =
|
||||||
createComposition(
|
createUltraHdrComposition(
|
||||||
/* presentation= */ null,
|
/* tonemap= */ false,
|
||||||
oneFrameFromImage(ULTRA_HDR_URI_STRING, NO_EFFECT),
|
oneFrameFromImage(ULTRA_HDR_URI_STRING, NO_EFFECT),
|
||||||
clippedVideo(MP4_ASSET_1080P_5_SECOND_HLG10, NO_EFFECT, ONE_FRAME_END_POSITION_MS));
|
clippedVideo(MP4_ASSET_1080P_5_SECOND_HLG10, NO_EFFECT, ONE_FRAME_END_POSITION_MS));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue