summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-04-10 01:24:38 +0000
committerdynaflash <[email protected]>2009-04-10 01:24:38 +0000
commit0f6bc3e33963fe3b89ddeb60904cd676df588ac5 (patch)
treecb8ee48336235c3d07d770b2220657cb7be1afb6 /macosx/Controller.mm
parent0700a3a0c3d9613db6c1c3750746afe9e89f9b4b (diff)
MacGui: Put AVI, OGM and Xvid out of our misery
- Note: renders custom presets using these obsolete (not an issue for built in presets as none have ever used them for good reason). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2316 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm29
1 files changed, 2 insertions, 27 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index f56e622f7..642a15fa4 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -368,12 +368,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
// MKV file
menuItem = [[fDstFormatPopUp menu] addItemWithTitle:@"MKV file" action: NULL keyEquivalent: @""];
[menuItem setTag: HB_MUX_MKV];
- // AVI file
- menuItem = [[fDstFormatPopUp menu] addItemWithTitle:@"AVI file" action: NULL keyEquivalent: @""];
- [menuItem setTag: HB_MUX_AVI];
- // OGM file
- menuItem = [[fDstFormatPopUp menu] addItemWithTitle:@"OGM file" action: NULL keyEquivalent: @""];
- [menuItem setTag: HB_MUX_OGM];
+
[fDstFormatPopUp selectItemAtIndex: 0];
[self formatPopUpChanged:nil];
@@ -3829,8 +3824,6 @@ fWorkingCount = 0;
menuItem = [[fVidEncoderPopUp menu] addItemWithTitle:@"MPEG-4 (FFmpeg)" action: NULL keyEquivalent: @""];
[menuItem setTag: HB_VCODEC_FFMPEG];
- menuItem = [[fVidEncoderPopUp menu] addItemWithTitle:@"MPEG-4 (XviD)" action: NULL keyEquivalent: @""];
- [menuItem setTag: HB_VCODEC_XVID];
switch( format )
{
case 0:
@@ -3864,25 +3857,7 @@ fWorkingCount = 0;
[fCreateChapterMarkers setEnabled: YES];
break;
- case 2:
- ext = "avi";
- /* Add additional video encoders here */
- menuItem = [[fVidEncoderPopUp menu] addItemWithTitle:@"H.264 (x264)" action: NULL keyEquivalent: @""];
- [menuItem setTag: HB_VCODEC_X264];
- /* We disable the create chapters checkbox here and make sure it is unchecked*/
- [fCreateChapterMarkers setEnabled: NO];
- [fCreateChapterMarkers setState: NSOffState];
- break;
-
- case 3:
- ext = "ogm";
- /* Add additional video encoders here */
- menuItem = [[fVidEncoderPopUp menu] addItemWithTitle:@"VP3 (Theora)" action: NULL keyEquivalent: @""];
- [menuItem setTag: HB_VCODEC_THEORA];
- /* We disable the create chapters checkbox here and make sure it is unchecked*/
- [fCreateChapterMarkers setEnabled: NO];
- [fCreateChapterMarkers setState: NSOffState];
- break;
+
}
/* if we have a previously selected vid encoder tag, then try to select it */
if (selectedVidEncoderTag)