Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
10df88b6
Commit
10df88b6
authored
May 16, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the new SAP/SLP syntax (sap,slp,name=)
parent
7fdb58fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
modules/gui/wxwindows/streamout.cpp
modules/gui/wxwindows/streamout.cpp
+16
-7
No files found.
modules/gui/wxwindows/streamout.cpp
View file @
10df88b6
...
...
@@ -2,7 +2,7 @@
* streamout.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2004 VideoLAN
* $Id
: streamout.cpp,v 1.43 2004/02/28 19:30:04 gbazin Exp
$
* $Id$
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -357,17 +357,26 @@ void SoutDialog::UpdateMRL()
/* SAP only if UDP */
if
(
sap_checkbox
->
IsChecked
()
)
{
dup_opts
+=
wxT
(
",sap=
\"
"
);
dup_opts
+=
announce_addr
->
GetLineText
(
0
);
dup_opts
+=
wxT
(
"
\"
"
);
dup_opts
+=
wxT
(
",sap"
);
if
(
!
announce_addr
->
GetLineText
(
0
).
IsEmpty
()
)
{
dup_opts
+=
wxT
(
",name=
\"
"
);
dup_opts
+=
announce_addr
->
GetLineText
(
0
);
dup_opts
+=
wxT
(
"
\"
"
);
}
}
/* SLP only if UDP */
if
(
slp_checkbox
->
IsChecked
()
)
{
dup_opts
+=
wxT
(
",slp=
\"
"
);
dup_opts
+=
announce_addr
->
GetLineText
(
0
);
dup_opts
+=
wxT
(
"
\"
"
);
dup_opts
+=
wxT
(
",slp"
);
if
(
!
sap_checkbox
->
IsChecked
()
&&
!
announce_addr
->
GetLineText
(
0
).
IsEmpty
()
)
{
dup_opts
+=
wxT
(
",name=
\"
"
);
dup_opts
+=
announce_addr
->
GetLineText
(
0
);
dup_opts
+=
wxT
(
"
\"
"
);
}
}
dup_opts
+=
wxT
(
"}"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment