diff options
author | sr55 <[email protected]> | 2010-11-30 19:38:00 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-11-30 19:38:00 +0000 |
commit | cbbd4b057329302f3325dec3d0ced2ed5e8a0e47 (patch) | |
tree | 97132c57fe99dbe30e7fe60bea54f409b8c8d961 /macosx/HBPresets.m | |
parent | 60fe82832616bdf993f1f35ac9be308b445addbd (diff) |
Added AC3 track to ATV2 preset
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3693 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPresets.m')
-rw-r--r-- | macosx/HBPresets.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macosx/HBPresets.m b/macosx/HBPresets.m index 1c58b7707..810cae6b5 100644 --- a/macosx/HBPresets.m +++ b/macosx/HBPresets.m @@ -774,6 +774,21 @@ [audioTrack1Array autorelease]; [audioListArray addObject:audioTrack1Array]; + /* Track 2 */ + NSMutableDictionary *audioTrack2Array = [[NSMutableDictionary alloc] init]; + [audioTrack2Array setObject:[NSNumber numberWithInt:1] forKey:@"AudioTrack"]; + [audioTrack2Array setObject:@"AC3 Passthru" forKey:@"AudioEncoder"]; + [audioTrack2Array setObject:@"AC3 Passthru" forKey:@"AudioMixdown"]; + [audioTrack2Array setObject:@"Auto" forKey:@"AudioSamplerate"]; + [audioTrack2Array setObject:@"160" forKey:@"AudioBitrate"]; + /* Note: we ignore specified bitrate for AC3 Passthru in libhb and use + * the sources bitrate, however we need to initially set the value to something so + * the macgui doesnt barf, so 160 seems as good as anything */ + [audioTrack2Array setObject:[NSNumber numberWithFloat:0.0] forKey:@"AudioTrackDRCSlider"]; + [audioTrack2Array autorelease]; + [audioListArray addObject:audioTrack2Array]; + + [preset setObject:[NSMutableArray arrayWithArray: audioListArray] forKey:@"AudioList"]; /* Subtitles*/ |