summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-06-30 20:44:21 +0000
committerjstebbins <[email protected]>2013-06-30 20:44:21 +0000
commitba3674603258b9bd9662af2b8f2225f9e9395ca1 (patch)
tree69cf3e5d77d21f07a57554ae5d1dd2bfa78e7f8b /macosx/Controller.m
parentd6fcba15d04322d3b6495cae70b813be5c3243b4 (diff)
libhb: add experimental avformat muxer for mkv and mp4
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index d5dd32bff..f5b9d7741 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -4894,8 +4894,8 @@ bool one_burned = FALSE;
//[self calculateBitrate: sender];
/* We're changing the chapter range - we may need to flip the m4v/mp4 extension */
- if ([fDstFormatPopUp indexOfSelectedItem] == 0)
- [self autoSetM4vExtension: sender];
+ if ([[fDstFormatPopUp selectedItem] tag] & HB_MUX_MASK_MP4)
+ [self autoSetM4vExtension:sender];
}
- (IBAction) startEndSecValueChanged: (id) sender
@@ -5008,6 +5008,7 @@ bool one_burned = FALSE;
{
case HB_MUX_MP4V2:
[fDstMp4LargeFileCheck setHidden:NO];
+ case HB_MUX_AV_MP4:
[fDstMp4HttpOptFileCheck setHidden:NO];
[fDstMp4iPodFileCheck setHidden:NO];
break;
@@ -5051,7 +5052,7 @@ bool one_burned = FALSE;
- (IBAction) autoSetM4vExtension: (id) sender
{
- if ( [fDstFormatPopUp indexOfSelectedItem] )
+ if (!([[fDstFormatPopUp selectedItem] tag] & HB_MUX_MASK_MP4))
return;
NSString * extension = @"mp4";