mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
HDR: Add period to end of error message.
For tone mapping error messages.
PiperOrigin-RevId: 477447799
(cherry picked from commit 1711d7f4c2)
This commit is contained in:
parent
875766ddfe
commit
55a7316158
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,7 +116,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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue