]> git.sesse.net Git - vlc/commitdiff
legacy OSX interface: fixed transcoding with the wizard and re-added mp4a as valid...
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 25 Mar 2010 20:29:38 +0000 (21:29 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 25 Mar 2010 20:29:46 +0000 (21:29 +0100)
modules/gui/macosx/output.m
modules/gui/macosx/wizard.m

index 74c04324607f954db8667eb84701b99b852c3b3f..14ff97b768d3136a167695b04c08b2967d5afc90 100644 (file)
     NSArray *o_v_bitrates = [NSArray arrayWithObjects: @"16", @"32", @"64", @"96",
         @"128", @"192", @"256", @"384", @"512", @"768", @"1024", @"2048", @"3072", nil];
     NSArray *o_v_scales = [NSArray arrayWithObjects: @"0.25",@"0.5",@"0.75",@"1",@"1.25",@"1.5",@"1.75",@"2",nil];
-    NSArray *o_a_codecs = [NSArray arrayWithObjects: @"mpga", @"mp3 ", @"a52 ", @"vorb", @"flac", @"spx ", nil]; //@"mp4a"
+    NSArray *o_a_codecs = [NSArray arrayWithObjects: @"mpga", @"mp3 ", @"mp4a", @"a52 ", @"vorb", @"flac", @"spx ", nil];
     NSArray *o_v_codecs = [NSArray arrayWithObjects: @"mp1v", @"mp2v", @"mp4v", @"DIV1",
         @"DIV2", @"DIV3", @"h263", @"h264", @"WMV1", @"WMV2", @"MJPG", @"theo", nil];
 
index 95d6795824bdb9d52de32904746515adeda2a618..37dc0f06e9082f5462c330721565d035361be044 100644 (file)
@@ -1592,8 +1592,8 @@ static VLCWizard *_o_sharedInstance = nil;
         }
  
         /* add subtitles to the video if desired */
-        [o_opts_string appendFormat: @":sout-transcode-soverlay=%@",
-                [o_userSelections objectForKey:@"soverlay"]];
+        if ([[o_userSelections objectForKey:@"soverlay"] intValue] > 0)
+            [o_opts_string appendString: @" --sout-transcode-soverlay"];
 
         [tempArray addObject: o_opts_string];