HDR: Add comment to clarify lack of support HDR10 for AVC

PiperOrigin-RevId: 465360186
This commit is contained in:
huangdarwin 2022-08-04 18:18:18 +00:00 committed by tonihei
parent 80ec64696e
commit 348662283a

View File

@ -125,6 +125,7 @@ public final class EncoderUtil {
if (colorTransfer == C.COLOR_TRANSFER_HLG) {
return ImmutableList.of(MediaCodecInfo.CodecProfileLevel.AVCProfileHigh10);
}
// CodecProfileLevel does not support PQ/HDR10 for H264.
break;
case MimeTypes.VIDEO_H265:
if (colorTransfer == C.COLOR_TRANSFER_HLG) {