Write color tag for Dolby Vision
This commit is contained in:
1 file changed
+1
-1
@@ -309,7 +309,7 @@ static uint32_t convertToFixedPoint(CGFloat value) {
|
||||
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_AV1 || self.format == kMP42VideoCodecType_DolbyVisionHEVC)) {
|
||||
|
||||
if (self.updatedProperty[@"colr"] || self.muxed == NO) {
|
||||
if (_colorPrimaries > 0 && _transferCharacteristics > 0 && _matrixCoefficients > 0) {
|
||||
|
||||
Reference in new issue
Block a user