Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
93b0b179
Commit
93b0b179
authored
Oct 29, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sout - cleanup. and mark the TODO for the icecast MRL generation...
parent
7589b4c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+9
-10
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
93b0b179
...
@@ -258,7 +258,7 @@ void SoutDialog::updateMRL()
...
@@ -258,7 +258,7 @@ void SoutDialog::updateMRL()
{
{
sout_gui_descr_t
sout
;
sout_gui_descr_t
sout
;
memset
(
&
sout
,
0
,
sizeof
(
sout_gui_descr_t
)
);
memset
(
&
sout
,
0
,
sizeof
(
sout_gui_descr_t
)
);
int
counter
=
0
;
unsigned
int
counter
=
0
;
sout
.
b_local
=
ui
.
localOutput
->
isChecked
();
sout
.
b_local
=
ui
.
localOutput
->
isChecked
();
sout
.
b_file
=
ui
.
fileOutput
->
isChecked
();
sout
.
b_file
=
ui
.
fileOutput
->
isChecked
();
...
@@ -359,12 +359,7 @@ void SoutDialog::updateMRL()
...
@@ -359,12 +359,7 @@ void SoutDialog::updateMRL()
{
{
#define ISMORE() if ( more ) mrl.append( "," );
#define ISMORE() if ( more ) mrl.append( "," );
#define ATLEASTONE() if ( counter ) mrl.append( "dst=" );
#define ATLEASTONE() \
if ( counter > 1 ) \
{ \
mrl.append( "dst=" ); \
}
#define CHECKMUX() \
#define CHECKMUX() \
if( sout.psz_mux ) \
if( sout.psz_mux ) \
...
@@ -373,7 +368,6 @@ void SoutDialog::updateMRL()
...
@@ -373,7 +368,6 @@ void SoutDialog::updateMRL()
mrl.append( sout.psz_mux ); \
mrl.append( sout.psz_mux ); \
}
}
if
(
trans
)
if
(
trans
)
{
{
mrl
.
append
(
":"
);
mrl
.
append
(
":"
);
...
@@ -383,7 +377,7 @@ void SoutDialog::updateMRL()
...
@@ -383,7 +377,7 @@ void SoutDialog::updateMRL()
mrl
=
":sout=#"
;
mrl
=
":sout=#"
;
}
}
if
(
counter
>
1
)
if
(
counter
)
{
{
mrl
.
append
(
"duplicate{"
);
mrl
.
append
(
"duplicate{"
);
}
}
...
@@ -474,7 +468,12 @@ void SoutDialog::updateMRL()
...
@@ -474,7 +468,12 @@ void SoutDialog::updateMRL()
more
=
true
;
more
=
true
;
}
}
if
(
counter
>
1
)
if
(
sout
.
b_icecast
)
{
// TODO
}
if
(
counter
)
{
{
mrl
.
append
(
"}"
);
mrl
.
append
(
"}"
);
}
}
...
...
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