Add experimental av1 support.
This commit is contained in:
3 files changed
+5
-3
No files matched your search
@@ -190,7 +190,8 @@ final class VideoViewController: PropertyView {
|
|||||||
|
|
||||||
// Color tag
|
// Color tag
|
||||||
if track.format == kMP42VideoCodecType_H264 || track.format == kMP42VideoCodecType_MPEG4Video ||
|
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
|
colorView.isHidden = false
|
||||||
colorHeight.constant = 24
|
colorHeight.constant = 24
|
||||||
|
|
||||||
|
|||||||
@@ -553,7 +553,8 @@ class QueueColorSpaceAction : NSObject, QueueActionProtocol {
|
|||||||
if track.format == kMP42VideoCodecType_H264 ||
|
if track.format == kMP42VideoCodecType_H264 ||
|
||||||
track.format == kMP42VideoCodecType_HEVC ||
|
track.format == kMP42VideoCodecType_HEVC ||
|
||||||
track.format == kMP42VideoCodecType_HEVC_PSinBitstream ||
|
track.format == kMP42VideoCodecType_HEVC_PSinBitstream ||
|
||||||
track.format == kMP42VideoCodecType_MPEG4Video {
|
track.format == kMP42VideoCodecType_MPEG4Video ||
|
||||||
|
track.format == kMP42VideoCodecType_AV1 {
|
||||||
let values = tag.tagValues()
|
let values = tag.tagValues()
|
||||||
track.colorPrimaries = values.colorPrimaries;
|
track.colorPrimaries = values.colorPrimaries;
|
||||||
track.transferCharacteristics = values.transferCharacteristics;
|
track.transferCharacteristics = values.transferCharacteristics;
|
||||||
|
|||||||
+1
-1
Submodule MP42Foundation updated: 14cc46c11e...e42154278f.
Reference in new issue
Block a user