]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.m
legacy OSX interface: fixed transcoding with the wizard and re-added mp4a as valid...
[vlc] / modules / gui / macosx / wizard.m
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];