diff options
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, |