Commit be1b32c8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: misc minor improvements to the legacy transcoding code

parent 8ded5907
...@@ -350,7 +350,7 @@ ...@@ -350,7 +350,7 @@
[self setSoutMRL:o_sout_options]; [self setSoutMRL:o_sout_options];
return; return;
} else } else
[o_mrl_string appendFormat: @"std{access=file{no-overwrite},mux=%@,dst=\"%@\"}", o_mux_string, [o_file_field stringValue]]; [o_mrl_string appendFormat: @"standard{mux=%@,access=file{no-overwrite},dst=\"%@\"}", o_mux_string, [o_file_field stringValue]];
} }
else if ([o_mode isEqualToString: _NS("Stream")]) { else if ([o_mode isEqualToString: _NS("Stream")]) {
o_mode = [o_stream_type titleOfSelectedItem]; o_mode = [o_stream_type titleOfSelectedItem];
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
} }
[o_mrl_string appendFormat: [o_mrl_string appendFormat:
@"std{access=%@,mux=%@,dst=%@%@}", @"standard{mux=%@,access=%@,dst=%@%@}",
o_mode, o_mux_string, o_finalStreamAddress, o_announce]; o_mode, o_mux_string, o_finalStreamAddress, o_announce];
} else { } else {
NSString * o_stream_name; NSString * o_stream_name;
...@@ -412,7 +412,7 @@ ...@@ -412,7 +412,7 @@
[o_announce appendFormat:@",sdp=\"file://%@\"",[o_sdp_url stringValue]]; [o_announce appendFormat:@",sdp=\"file://%@\"",[o_sdp_url stringValue]];
[o_mrl_string appendFormat: [o_mrl_string appendFormat:
@"rtp{dst=\"%@\",port=%@%@%@}",[o_stream_address stringValue], @"rtp{mux=ts,dst=\"%@\",port=%@%@%@}",[o_stream_address stringValue],
[o_stream_port stringValue], o_stream_name, o_announce]; [o_stream_port stringValue], o_stream_name, o_announce];
} }
...@@ -461,8 +461,7 @@ ...@@ -461,8 +461,7 @@
[o_save_panel setNameFieldStringValue: o_name]; [o_save_panel setNameFieldStringValue: o_name];
if ([o_save_panel runModal] == NSFileHandlingPanelOKButton) { if ([o_save_panel runModal] == NSFileHandlingPanelOKButton) {
NSString *o_filename = [[o_save_panel URL] path]; [o_file_field setStringValue: [[o_save_panel URL] path]];
[o_file_field setStringValue: o_filename];
[self outputInfoChanged: nil]; [self outputInfoChanged: nil];
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment