Skip to content

Commit

Permalink
HDR: Add comment to clarify lack of support HDR10 for AVC
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 465360186
  • Loading branch information
dway123 authored and marcbaechinger committed Oct 19, 2022
1 parent a1be6d6 commit e63d594
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -123,6 +123,7 @@ public static ImmutableList<Integer> getCodecProfilesForHdrFormat(
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) {
Expand Down

0 comments on commit e63d594

Please sign in to comment.