From ead30edb734ca7a5744729c133258d722df6ca25 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 26 Feb 2019 11:27:19 +0100 Subject: [PATCH] add AV1 fourcc. --- MP42/MP42MediaFormat.h | 1 + MP42/MP42MediaFormat.m | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/MP42/MP42MediaFormat.h b/MP42/MP42MediaFormat.h index 91c6550..aad2116 100644 --- a/MP42/MP42MediaFormat.h +++ b/MP42/MP42MediaFormat.h @@ -83,6 +83,7 @@ enum : MP42VideoCodecType kMP42VideoCodecType_Theora = 'XiTh', kMP42VideoCodecType_VP8 = 'VP8 ', kMP42VideoCodecType_VP9 = 'VP9 ', + kMP42VideoCodecType_AV1 = 'av01', kMP42VideoCodecType_AppleProRes4444 = 'ap4h', kMP42VideoCodecType_AppleProRes422HQ = 'apch', diff --git a/MP42/MP42MediaFormat.m b/MP42/MP42MediaFormat.m index 2080940..4c1553d 100644 --- a/MP42/MP42MediaFormat.m +++ b/MP42/MP42MediaFormat.m @@ -162,6 +162,10 @@ NSString *localizedVideoDisplayName(FourCharCode mediaSubtype) result = NSLocalizedString(@"VP9", nil); break; + case kMP42VideoCodecType_AV1: + result = NSLocalizedString(@"AV1", nil); + break; + case kMP42VideoCodecType_AppleProRes4444: result = NSLocalizedString(@"ProRes 4444", nil); break;