Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
59243239
Commit
59243239
authored
Aug 23, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: remove broken SAP widgets in streaming wizard (fixes #4322)
parent
1ee2e09d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
45 deletions
+1
-45
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+1
-25
modules/gui/qt4/ui/sout.ui
modules/gui/qt4/ui/sout.ui
+0
-20
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
59243239
...
...
@@ -84,7 +84,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
#define CC( x ) CONNECT( ui.x, currentIndexChanged( int ), this, updateMRL() );
/* Misc */
CB
(
soutAll
);
CT
(
sapName
);
CT
(
sapGroup
);
CB
(
soutAll
);
CB
(
localOutput
);
CB
(
transcodeBox
);
CONNECT
(
ui
.
profileSelect
,
optionsChanged
(),
this
,
updateMRL
()
);
...
...
@@ -219,30 +219,6 @@ void SoutDialog::updateMRL()
mrl
=
smrl
.
getMrl
();
if
(
ui
.
sap
->
isChecked
()
)
{
QString
group
=
ui
.
sapGroup
->
text
();
QString
name
=
ui
.
sapName
->
text
();
/* FIXME: This sucks. We should really return a QStringList instead of
* (mis)quoting, concatenating and split input item paramters. */
name
=
name
.
replace
(
" "
,
" "
);
group
=
group
.
replace
(
" "
,
" "
);
/* We need to add options for both standard and rtp targets */
/* This is inelegant but simple and functional */
mrl
.
append
(
qfu
(
" :sout-rtp-sap"
)
);
mrl
.
append
(
qfu
(
" :sout-rtp-name="
)
+
name
);
mrl
.
append
(
qfu
(
" :sout-standard-sap"
)
);
mrl
.
append
(
qfu
(
" :sout-standard-name="
)
+
name
);
mrl
.
append
(
qfu
(
" :sout-standard-group="
)
+
group
);
}
else
{
mrl
.
append
(
qfu
(
" :no-sout-rtp-sap"
)
);
mrl
.
append
(
qfu
(
" :no-sout-standard-sap"
)
);
}
if
(
ui
.
soutAll
->
isChecked
()
)
mrl
.
append
(
" :sout-all"
);
mrl
.
append
(
" :sout-keep"
);
...
...
modules/gui/qt4/ui/sout.ui
View file @
59243239
...
...
@@ -168,26 +168,6 @@
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QCheckBox"
name=
"sap"
>
<property
name=
"text"
>
<string>
SAP announce
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"sapName"
/>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"QLabel"
name=
"sapGroupLabel"
>
<property
name=
"text"
>
<string>
Group name
</string>
</property>
</widget>
</item>
<item
row=
"1"
column=
"3"
>
<widget
class=
"QLineEdit"
name=
"sapGroup"
/>
</item>
</layout>
</widget>
</item>
...
...
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