diff options
author | Rodeo <[email protected]> | 2013-03-04 14:33:08 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-04 14:33:08 +0000 |
commit | 19740e54453ffa50272d9bcac3c0a2dcefd780eb (patch) | |
tree | c0e1f735e0f2420154ad8dfa8fc07201fc250b15 /macosx | |
parent | 2df5f7e5d66aa3c34bed93f81a43350dd4daa203 (diff) |
MacGui: add default Auto Passthru settings to all presets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5302 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBPresets.m | 153 |
1 files changed, 71 insertions, 82 deletions
diff --git a/macosx/HBPresets.m b/macosx/HBPresets.m index f9936d10f..0281a4365 100644 --- a/macosx/HBPresets.m +++ b/macosx/HBPresets.m @@ -172,14 +172,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -288,14 +287,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -393,14 +391,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -498,14 +495,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -604,14 +600,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable + /* Auto Passthru */ [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -720,14 +715,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -836,14 +830,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -952,14 +945,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -1057,14 +1049,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -1162,14 +1153,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; @@ -1267,14 +1257,13 @@ [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureLeftCrop"]; [preset setObject:[NSNumber numberWithInt:0] forKey:@"PictureRightCrop"]; - /* Auto Passthru - TODO: enable - [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; - [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; - */ + /* Auto Passthru */ + [preset setObject:@"AC3 (ffmpeg)" forKey:@"AudioEncoderFallback"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAACPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowAC3Pass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSHDPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowDTSPass"]; + [preset setObject:[NSNumber numberWithInt:1] forKey:@"AudioAllowMP3Pass"]; /* Audio track list - no need to add "None" at the end */ NSMutableArray *audioListArray = [[NSMutableArray alloc] init]; |