Browse Source

macosx: Fix argument order when constructing stream chain

pull/73/head
Marvin Scholz 8 years ago
parent
commit
feb75e4148
  1. 2
      modules/gui/macosx/VLCConvertAndSaveWindowController.m

2
modules/gui/macosx/VLCConvertAndSaveWindowController.m

@ -973,7 +973,7 @@
else if ([[[_streamTypePopup selectedItem] title] isEqualToString:@"MMSH"]) else if ([[[_streamTypePopup selectedItem] title] isEqualToString:@"MMSH"])
[composedOptions appendFormat:@":standard{mux=asfh,dst=%@,port=%@,access=mmsh", _outputDestination, [_streamPortField stringValue]]; [composedOptions appendFormat:@":standard{mux=asfh,dst=%@,port=%@,access=mmsh", _outputDestination, [_streamPortField stringValue]];
else else
[composedOptions appendFormat:@":standard{mux=%@,dst=%@,port=%@,access=http", [self.currentProfile firstObject], [_streamPortField stringValue], _outputDestination]; [composedOptions appendFormat:@":standard{mux=%@,dst=%@,port=%@,access=http", [self.currentProfile firstObject], _outputDestination, [_streamPortField stringValue]];
if ([_streamSAPCheckbox state]) if ([_streamSAPCheckbox state])
[composedOptions appendFormat:@",sap,name=\"%@\"", [_streamChannelField stringValue]]; [composedOptions appendFormat:@",sap,name=\"%@\"", [_streamChannelField stringValue]];

Loading…
Cancel
Save