Commit 05ce639e by huangdarwin Committed by Marc Baechinger

HDR: Add period to end of error message.

For tone mapping error messages.

PiperOrigin-RevId: 477447799
parent 507a1be6
......@@ -174,7 +174,7 @@ public class SetHdrEditingTransformationTest {
assertThat(exception)
.hasCauseThat()
.hasMessageThat()
.isEqualTo("Tone-mapping requested but not supported by the decoder");
.isEqualTo("Tone-mapping requested but not supported by the decoder.");
}
return;
}
......
......@@ -90,7 +90,7 @@ public class SetHdrToSdrToneMapTransformationTest {
assertThat(exception)
.hasCauseThat()
.hasMessageThat()
.isEqualTo("Tone-mapping requested but not supported by the decoder");
.isEqualTo("Tone-mapping requested but not supported by the decoder.");
}
return;
}
......@@ -147,7 +147,7 @@ public class SetHdrToSdrToneMapTransformationTest {
assertThat(exception)
.hasCauseThat()
.hasMessageThat()
.isEqualTo("Tone-mapping requested but not supported by the decoder");
.isEqualTo("Tone-mapping requested but not supported by the decoder.");
}
return;
}
......
......@@ -114,7 +114,7 @@ public final class DefaultCodec implements Codec {
// https://developer.android.com/reference/android/media/MediaFormat#KEY_COLOR_TRANSFER_REQUEST.
checkArgument(
Api29.isSdrToneMappingEnabled(mediaCodec.getInputFormat()),
"Tone-mapping requested but not supported by the decoder");
"Tone-mapping requested but not supported by the decoder.");
}
if (isVideo && !isDecoder) {
inputSurface = mediaCodec.createInputSurface();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment