mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08: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
@ -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…
x
Reference in New Issue
Block a user