Write color tag for Dolby Vision
This commit is contained in:
1 file changed
+3
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user