diff options
author | sr55 <[email protected]> | 2011-04-18 12:10:07 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-04-18 12:10:07 +0000 |
commit | e63f490b2e0a90bafb690e1d1f1f1e2f44729309 (patch) | |
tree | ba6efe28059341ad798d5e20d1682233e057e55c /macosx | |
parent | 4d2dce20625d08032eb25dd2d98c3d4319d8e0d9 (diff) |
HE-AAC support for the OSX port. Thanks go to amarcus, ritsuka and rodeo.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3937 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBAudio.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m index c1c0cd591..7be16023f 100644 --- a/macosx/HBAudio.m +++ b/macosx/HBAudio.m @@ -75,6 +75,15 @@ static NSMutableArray *masterBitRateArray = nil; [NSNumber numberWithBool: YES], keyAudioMKV, [NSNumber numberWithBool: NO], keyAudioMustMatchTrack, nil]]; + if (encca_haac_available()) { + [masterCodecArray addObject: [NSDictionary dictionaryWithObjectsAndKeys: + NSLocalizedString(@"HE-AAC (CoreAudio)", @"HE-AAC (CoreAudio)"), keyAudioCodecName, + [NSNumber numberWithInt: HB_ACODEC_CA_HAAC], keyAudioCodec, + [NSNumber numberWithBool: YES], keyAudioMP4, + [NSNumber numberWithBool: YES], keyAudioMKV, + [NSNumber numberWithBool: NO], keyAudioMustMatchTrack, + nil]]; + } [masterCodecArray addObject: [NSDictionary dictionaryWithObjectsAndKeys: NSLocalizedString(@"AAC (faac)", @"AAC (faac)"), keyAudioCodecName, [NSNumber numberWithInt: HB_ACODEC_FAAC], keyAudioCodec, |