Add experimental av1 support.

This commit is contained in:
Damiano Galassi committed 2021-05-31 12:09:29 +02:00
1 parent 453ccdf598
commit e42154278f
6 files changed
+42 -2

No files matched your search

+2 -1
View File
@@ -203,7 +203,8 @@ static uint32_t convertToFixedPoint(CGFloat value) {
free(val);
if ((self.format == kMP42VideoCodecType_H264 || self.format == kMP42VideoCodecType_MPEG4Video
|| self.format == kMP42VideoCodecType_HEVC || self.format == kMP42VideoCodecType_HEVC_PSinBitstream)) {
|| self.format == kMP42VideoCodecType_HEVC || self.format == kMP42VideoCodecType_HEVC_PSinBitstream
|| self.format == kMP42VideoCodecType_AV1)) {
if (self.updatedProperty[@"colr"] || self.muxed == NO) {
if (_colorPrimaries > 0 && _transferCharacteristics > 0 && _matrixCoefficients > 0) {