Commit 34866228 by huangdarwin Committed by tonihei

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

PiperOrigin-RevId: 465360186
parent 80ec6469
...@@ -125,6 +125,7 @@ public final class EncoderUtil { ...@@ -125,6 +125,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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment