From 4a99fb70cd0188588f9970d65669c67b3903b65b Mon Sep 17 00:00:00 2001 From: Damiano galassi Date: Fri, 1 Apr 2022 11:19:53 +0200 Subject: [PATCH] Add ProRes RAW fourcc. --- MP42/MP42MediaFormat.h | 1 + MP42/MP42MediaFormat.m | 3 +++ 2 files changed, 4 insertions(+) diff --git a/MP42/MP42MediaFormat.h b/MP42/MP42MediaFormat.h index da81330..b8330ee 100644 --- a/MP42/MP42MediaFormat.h +++ b/MP42/MP42MediaFormat.h @@ -94,6 +94,7 @@ enum : MP42VideoCodecType kMP42VideoCodecType_AppleProRes422 = 'apcn', kMP42VideoCodecType_AppleProRes422LT = 'apcs', kMP42VideoCodecType_AppleProRes422Proxy = 'apco', + kMP42VideoCodecType_AppleProResRAW = 'aprn', kMP42VideoCodecType_DVCNTSC = 'dvc ', kMP42VideoCodecType_DVCPAL = 'dvcp', diff --git a/MP42/MP42MediaFormat.m b/MP42/MP42MediaFormat.m index 2a399ba..fdfe517 100644 --- a/MP42/MP42MediaFormat.m +++ b/MP42/MP42MediaFormat.m @@ -202,6 +202,9 @@ NSString *localizedVideoDisplayName(FourCharCode mediaSubtype) result = NSLocalizedString(@"ProRes 422 Proxy", nil); break; + case kMP42VideoCodecType_AppleProResRAW: + result = NSLocalizedString(@"ProRes RAW", nil); + break; case kMP42VideoCodecType_DVCNTSC: result = NSLocalizedString(@"DV NTSC", nil); break;