mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
HDR: Add period to end of error message.
For tone mapping error messages. PiperOrigin-RevId: 477447799 (cherry picked from commit 05ce639ea05b8806f6c8bae7d1816ddae5d99fb7)
This commit is contained in:
parent
619333fe3c
commit
09776f3d72
@ -174,7 +174,7 @@ public class SetHdrEditingTransformationTest {
|
|||||||
assertThat(exception)
|
assertThat(exception)
|
||||||
.hasCauseThat()
|
.hasCauseThat()
|
||||||
.hasMessageThat()
|
.hasMessageThat()
|
||||||
.isEqualTo("Tone-mapping requested but not supported by the decoder");
|
.isEqualTo("Tone-mapping requested but not supported by the decoder.");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ public class SetHdrToSdrToneMapTransformationTest {
|
|||||||
assertThat(exception)
|
assertThat(exception)
|
||||||
.hasCauseThat()
|
.hasCauseThat()
|
||||||
.hasMessageThat()
|
.hasMessageThat()
|
||||||
.isEqualTo("Tone-mapping requested but not supported by the decoder");
|
.isEqualTo("Tone-mapping requested but not supported by the decoder.");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -147,7 +147,7 @@ public class SetHdrToSdrToneMapTransformationTest {
|
|||||||
assertThat(exception)
|
assertThat(exception)
|
||||||
.hasCauseThat()
|
.hasCauseThat()
|
||||||
.hasMessageThat()
|
.hasMessageThat()
|
||||||
.isEqualTo("Tone-mapping requested but not supported by the decoder");
|
.isEqualTo("Tone-mapping requested but not supported by the decoder.");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ public final class DefaultCodec implements Codec {
|
|||||||
// https://developer.android.com/reference/android/media/MediaFormat#KEY_COLOR_TRANSFER_REQUEST.
|
// https://developer.android.com/reference/android/media/MediaFormat#KEY_COLOR_TRANSFER_REQUEST.
|
||||||
checkArgument(
|
checkArgument(
|
||||||
Api29.isSdrToneMappingEnabled(mediaCodec.getInputFormat()),
|
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) {
|
if (isVideo && !isDecoder) {
|
||||||
inputSurface = mediaCodec.createInputSurface();
|
inputSurface = mediaCodec.createInputSurface();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user