diff --git a/MP42/MP42VideoTrack.m b/MP42/MP42VideoTrack.m index 3c01043..19f0482 100644 --- a/MP42/MP42VideoTrack.m +++ b/MP42/MP42VideoTrack.m @@ -306,10 +306,10 @@ static uint32_t convertToFixedPoint(CGFloat value) { free(val); - if ((self.format == kMP42VideoCodecType_H264 || self.format == kMP42VideoCodecType_MPEG4Video + if ((self.format == kMP42VideoCodecType_H264 || self.format == kMP42VideoCodecType_MPEG4Video || self.format == kMP42VideoCodecType_HEVC || self.format == kMP42VideoCodecType_HEVC_PSinBitstream - || self.format == kMP42VideoCodecType_VVC || self.format == kMP42VideoCodecType_VVC_PSinBitstream - || self.format == kMP42VideoCodecType_AV1)) { + || self.format == kMP42VideoCodecType_VVC || self.format == kMP42VideoCodecType_VVC_PSinBitstream + || self.format == kMP42VideoCodecType_AV1 || self.format == kMP42VideoCodecType_DolbyVisionHEVC)) { if (self.updatedProperty[@"colr"] || self.muxed == NO) { if (_colorPrimaries > 0 && _transferCharacteristics > 0 && _matrixCoefficients > 0) {