1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

Delete more SLP stuff

This commit is contained in:
Derk-Jan Hartman 2005-12-03 19:35:54 +00:00
parent f6f10f97fa
commit 2e7fbf4659
5 changed files with 3 additions and 17 deletions

View File

@ -363,7 +363,6 @@
"o_sap_chkbox" = id;
"o_sdp_url" = id;
"o_sdp_url_lbl" = id;
"o_slp_chkbox" = id;
"o_stream_address" = id;
"o_stream_address_lbl" = id;
"o_stream_port" = id;

View File

@ -14,6 +14,6 @@
<integer>2199</integer>
</array>
<key>IBSystem Version</key>
<string>8C46</string>
<string>8F46</string>
</dict>
</plist>

View File

@ -70,7 +70,6 @@
IBOutlet id o_misc_lbl;
IBOutlet id o_sap_chkbox;
IBOutlet id o_slp_chkbox;
IBOutlet id o_channel_name;
IBOutlet id o_channel_name_lbl;

View File

@ -179,7 +179,6 @@
[o_misc_lbl setTitle: _NS("Stream Announcing")];
[o_sap_chkbox setTitle: _NS("SAP announce")];
[o_slp_chkbox setTitle: _NS("SLP announce")];
[o_rtsp_chkbox setTitle: _NS("RTSP announce")];
[o_http_chkbox setTitle:_NS("HTTP announce")];
[o_file_chkbox setTitle:_NS("Export SDP as file")];
@ -221,7 +220,6 @@
o_mode = [[o_method selectedCell] title];
[o_sap_chkbox setEnabled: NO];
[o_slp_chkbox setEnabled: NO];
[o_http_chkbox setEnabled: NO];
[o_rtsp_chkbox setEnabled: NO];
[o_file_chkbox setEnabled: NO];
@ -306,7 +304,6 @@
[[o_mux_selector itemAtIndex: 7] setEnabled: NO];
[[o_mux_selector itemAtIndex: 8] setEnabled: YES];
[o_sap_chkbox setEnabled: YES];
[o_slp_chkbox setEnabled: YES];
[o_channel_name setEnabled: YES];
}
else if( [o_mode isEqualToString: @"RTP"] )
@ -325,7 +322,6 @@
[[o_mux_selector itemAtIndex: 8] setEnabled: YES];
[o_mux_selector selectItemAtIndex: 8];
[o_sap_chkbox setEnabled: YES];
[o_slp_chkbox setEnabled: NO];
[o_rtsp_chkbox setEnabled: YES];
[o_http_chkbox setEnabled: YES];
[o_file_chkbox setEnabled: YES];
@ -414,14 +410,6 @@
else
[o_announce appendFormat:@",sap"];
}
if( [o_slp_chkbox state] == NSOnState )
{
if ( ![[o_channel_name stringValue] isEqualToString: @""] )
[o_announce appendFormat:@
"slp,name=%@",[o_channel_name stringValue]];
else
[o_announce appendString: @",slp"];
}
}
if ( ![o_mode isEqualToString: @"RTP"] )
{
@ -634,8 +622,8 @@
{
NSString *o_mode;
o_mode = [[o_stream_type selectedCell] title];
[o_channel_name setEnabled: [o_sap_chkbox state] || [o_slp_chkbox state]
|| [o_mode isEqualToString: @"RTP"]];
[o_channel_name setEnabled: [o_sap_chkbox state] ||
[o_mode isEqualToString: @"RTP"]];
if ([o_mode isEqualToString: @"RTP"])
{