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
96ad75b1
Commit
96ad75b1
authored
Sep 04, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt/Sout: pass the ttl from the UI to the MRL
parent
babf7fcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+6
-3
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
96ad75b1
...
...
@@ -34,6 +34,7 @@
#include <QString>
#include <QFileDialog>
#include <QToolButton>
#include <QSpinBox>
#include <assert.h>
SoutDialog
::
SoutDialog
(
QWidget
*
parent
,
intf_thread_t
*
_p_intf
,
const
QString
&
inputMRL
)
...
...
@@ -260,8 +261,8 @@ void SoutDialog::updateMRL()
/* FIXME: This sucks. We should really return a QStringList instead of
* (mis)quoting, concatainating and split input item paramters. */
name
=
name
.
replace
(
" "
,
"
"
);
group
=
group
.
replace
(
" "
,
"
"
);
name
=
name
.
replace
(
" "
,
"
"
);
group
=
group
.
replace
(
" "
,
"
"
);
/* We need to add options for both standard and rtp targets */
/* This is inelegant but simple and functional */
...
...
@@ -277,7 +278,9 @@ void SoutDialog::updateMRL()
mrl
.
append
(
qfu
(
" :no-sout-standard-sap"
)
);
}
if
(
ui
.
soutAll
->
isChecked
()
)
mrl
.
append
(
" :sout-all"
);
if
(
ui
.
soutAll
->
isChecked
()
)
mrl
.
append
(
" :sout-all"
);
if
(
ui
.
ttl
->
value
()
!=
1
)
mrl
.
append
(
" :ttl="
+
ui
.
ttl
->
value
()
);
mrl
.
append
(
" :sout-keep"
);
...
...
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