mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
HDR: Add comment to clarify lack of support HDR10 for AVC
PiperOrigin-RevId: 465360186
(cherry picked from commit e63d594f49)
This commit is contained in:
parent
e9e7fb4e8a
commit
acf40801cf
1 changed files with 1 additions and 0 deletions
|
|
@ -123,6 +123,7 @@ public final class EncoderUtil {
|
||||||
if (colorTransfer == C.COLOR_TRANSFER_HLG) {
|
if (colorTransfer == C.COLOR_TRANSFER_HLG) {
|
||||||
return ImmutableList.of(MediaCodecInfo.CodecProfileLevel.AVCProfileHigh10);
|
return ImmutableList.of(MediaCodecInfo.CodecProfileLevel.AVCProfileHigh10);
|
||||||
}
|
}
|
||||||
|
// CodecProfileLevel does not support PQ/HDR10 for H264.
|
||||||
break;
|
break;
|
||||||
case MimeTypes.VIDEO_H265:
|
case MimeTypes.VIDEO_H265:
|
||||||
if (colorTransfer == C.COLOR_TRANSFER_HLG) {
|
if (colorTransfer == C.COLOR_TRANSFER_HLG) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue