Add experimental av1 support.

This commit is contained in:
Damiano Galassi committed 2021-05-31 12:09:51 +02:00
1 parent 181ddd8c73
commit ea0d59feeb
3 files changed
+5 -3

No files matched your search

@@ -190,7 +190,8 @@ final class VideoViewController: PropertyView {
// Color tag
if track.format == kMP42VideoCodecType_H264 || track.format == kMP42VideoCodecType_MPEG4Video ||
track.format == kMP42VideoCodecType_HEVC || track.format == kMP42VideoCodecType_HEVC_PSinBitstream {
track.format == kMP42VideoCodecType_HEVC || track.format == kMP42VideoCodecType_HEVC_PSinBitstream ||
track.format == kMP42VideoCodecType_AV1 {
colorView.isHidden = false
colorHeight.constant = 24
+2 -1
View File
@@ -553,7 +553,8 @@ class QueueColorSpaceAction : NSObject, QueueActionProtocol {
if track.format == kMP42VideoCodecType_H264 ||
track.format == kMP42VideoCodecType_HEVC ||
track.format == kMP42VideoCodecType_HEVC_PSinBitstream ||
track.format == kMP42VideoCodecType_MPEG4Video {
track.format == kMP42VideoCodecType_MPEG4Video ||
track.format == kMP42VideoCodecType_AV1 {
let values = tag.tagValues()
track.colorPrimaries = values.colorPrimaries;
track.transferCharacteristics = values.transferCharacteristics;