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
60e75ffe
Commit
60e75ffe
authored
Nov 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: remove audio/video port from RTP streaming wizard
parent
b0a8bf12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
33 deletions
+1
-33
modules/gui/qt4/components/sout/sout_widgets.cpp
modules/gui/qt4/components/sout/sout_widgets.cpp
+1
-31
modules/gui/qt4/components/sout/sout_widgets.hpp
modules/gui/qt4/components/sout/sout_widgets.hpp
+0
-2
No files found.
modules/gui/qt4/components/sout/sout_widgets.cpp
View file @
60e75ffe
...
...
@@ -275,7 +275,7 @@ RTPDestBox::RTPDestBox( QWidget *_parent ) : VirtualDestBox( _parent )
layout
->
addWidget
(
rtpOutput
,
0
,
0
,
1
,
-
1
);
QLabel
*
RTPLabel
=
new
QLabel
(
qtr
(
"Address"
),
this
);
QLabel
*
RTPPortLabel
=
new
QLabel
(
qtr
(
"
P
ort"
),
this
);
QLabel
*
RTPPortLabel
=
new
QLabel
(
qtr
(
"
Base p
ort"
),
this
);
layout
->
addWidget
(
RTPLabel
,
1
,
0
,
1
,
1
);
layout
->
addWidget
(
RTPPortLabel
,
2
,
0
,
1
,
1
);
...
...
@@ -288,34 +288,10 @@ RTPDestBox::RTPDestBox( QWidget *_parent ) : VirtualDestBox( _parent )
RTPPort
->
setMaximum
(
65535
);
RTPPort
->
setValue
(
5004
);
RTPPortAudio
=
new
QSpinBox
(
this
);
RTPPortAudio
->
setMaximumSize
(
QSize
(
90
,
16777215
));
RTPPortAudio
->
setAlignment
(
Qt
::
AlignRight
|
Qt
::
AlignTrailing
|
Qt
::
AlignVCenter
);
RTPPortAudio
->
setMinimum
(
-
1
);
RTPPortAudio
->
setMaximum
(
65535
);
RTPPortAudio
->
setValue
(
-
1
);
RTPPortVideo
=
new
QSpinBox
(
this
);
RTPPortVideo
->
setMaximumSize
(
QSize
(
90
,
16777215
));
RTPPortVideo
->
setAlignment
(
Qt
::
AlignRight
|
Qt
::
AlignTrailing
|
Qt
::
AlignVCenter
);
RTPPortVideo
->
setMinimum
(
-
1
);
RTPPortVideo
->
setMaximum
(
65535
);
RTPPortVideo
->
setValue
(
-
1
);
layout
->
addWidget
(
RTPEdit
,
1
,
1
,
1
,
1
);
layout
->
addWidget
(
RTPPort
,
2
,
1
,
1
,
1
);
QLabel
*
RTPPortAudioLabel
=
new
QLabel
(
qtr
(
"Audio Port"
),
this
);
QLabel
*
RTPPortVideoLabel
=
new
QLabel
(
qtr
(
"Video Port"
),
this
);
layout
->
addWidget
(
RTPPortAudioLabel
,
3
,
0
,
1
,
1
);
layout
->
addWidget
(
RTPPortAudio
,
3
,
1
,
1
,
1
);
layout
->
addWidget
(
RTPPortVideoLabel
,
3
,
2
,
1
,
1
);
layout
->
addWidget
(
RTPPortVideo
,
3
,
3
,
1
,
1
);
CS
(
RTPPort
);
CS
(
RTPPortAudio
);
CS
(
RTPPortVideo
);
CT
(
RTPEdit
);
}
...
...
@@ -329,12 +305,6 @@ QString RTPDestBox::getMRL( const QString& mux )
m
.
option
(
"port"
,
RTPPort
->
value
()
);
if
(
!
mux
.
isEmpty
()
)
m
.
option
(
"mux"
,
mux
);
if
(
mux
.
isEmpty
()
||
mux
.
compare
(
"ts"
,
Qt
::
CaseInsensitive
)
)
{
m
.
option
(
"port-audio"
,
RTPPortAudio
->
value
()
);
m
.
option
(
"port-video"
,
RTPPortVideo
->
value
()
);
}
m
.
end
();
return
m
.
getMrl
();
...
...
modules/gui/qt4/components/sout/sout_widgets.hpp
View file @
60e75ffe
...
...
@@ -110,8 +110,6 @@ class RTPDestBox: public VirtualDestBox
private:
QLineEdit
*
RTPEdit
;
QSpinBox
*
RTPPort
;
QSpinBox
*
RTPPortVideo
;
QSpinBox
*
RTPPortAudio
;
};
class
ICEDestBox
:
public
VirtualDestBox
...
...
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