Loading media/codec2/sfplugin/Codec2InfoBuilder.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -156,9 +156,10 @@ bool addSupportedProfileLevels( // dynamic metadata as that needs to be frame accurate.) supportsHdr |= (mediaType == MIMETYPE_VIDEO_VP9); // HDR support implies 10-bit support. // HDR support implies 10-bit support. AV1 codecs are also required to // support 10-bit per CDD. // TODO: directly check this from the component interface supports10Bit = (supportsHdr || supportsHdr10Plus); supports10Bit = (supportsHdr || supportsHdr10Plus) || (mediaType == MIMETYPE_VIDEO_AV1); // If the device doesn't support HDR display, then no codec on the device // can advertise support for HDR profiles. Loading Loading
media/codec2/sfplugin/Codec2InfoBuilder.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -156,9 +156,10 @@ bool addSupportedProfileLevels( // dynamic metadata as that needs to be frame accurate.) supportsHdr |= (mediaType == MIMETYPE_VIDEO_VP9); // HDR support implies 10-bit support. // HDR support implies 10-bit support. AV1 codecs are also required to // support 10-bit per CDD. // TODO: directly check this from the component interface supports10Bit = (supportsHdr || supportsHdr10Plus); supports10Bit = (supportsHdr || supportsHdr10Plus) || (mediaType == MIMETYPE_VIDEO_AV1); // If the device doesn't support HDR display, then no codec on the device // can advertise support for HDR profiles. Loading