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
655f6183
Commit
655f6183
authored
Nov 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: separate native RTP from RTP/TS
parent
94038d2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
8 deletions
+15
-8
modules/gui/qt4/components/sout/sout_widgets.cpp
modules/gui/qt4/components/sout/sout_widgets.cpp
+5
-4
modules/gui/qt4/components/sout/sout_widgets.hpp
modules/gui/qt4/components/sout/sout_widgets.hpp
+2
-1
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+8
-3
No files found.
modules/gui/qt4/components/sout/sout_widgets.cpp
View file @
655f6183
...
...
@@ -265,7 +265,8 @@ QString UDPDestBox::getMRL( const QString& mux )
RTPDestBox
::
RTPDestBox
(
QWidget
*
_parent
)
:
VirtualDestBox
(
_parent
)
RTPDestBox
::
RTPDestBox
(
QWidget
*
_parent
,
const
char
*
_mux
)
:
VirtualDestBox
(
_parent
),
mux
(
_mux
)
{
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
...
...
@@ -295,7 +296,7 @@ RTPDestBox::RTPDestBox( QWidget *_parent ) : VirtualDestBox( _parent )
CT
(
RTPEdit
);
}
QString
RTPDestBox
::
getMRL
(
const
QString
&
mux
)
QString
RTPDestBox
::
getMRL
(
const
QString
&
)
{
if
(
RTPEdit
->
text
().
isEmpty
()
)
return
""
;
...
...
@@ -303,8 +304,8 @@ QString RTPDestBox::getMRL( const QString& mux )
m
.
begin
(
"rtp"
);
m
.
option
(
"dst"
,
RTPEdit
->
text
()
);
m
.
option
(
"port"
,
RTPPort
->
value
()
);
if
(
!
mux
.
isEmpty
()
)
m
.
option
(
"mux"
,
mux
);
if
(
mux
!=
NULL
)
m
.
option
(
"mux"
,
qfu
(
mux
)
);
m
.
end
();
return
m
.
getMrl
();
...
...
modules/gui/qt4/components/sout/sout_widgets.hpp
View file @
655f6183
...
...
@@ -105,11 +105,12 @@ class RTPDestBox: public VirtualDestBox
{
Q_OBJECT
;
public:
RTPDestBox
(
QWidget
*
_parent
=
NULL
);
RTPDestBox
(
QWidget
*
_parent
=
NULL
,
const
char
*
mux
=
NULL
);
virtual
QString
getMRL
(
const
QString
&
);
private:
QLineEdit
*
RTPEdit
;
QSpinBox
*
RTPPort
;
const
char
*
mux
;
};
class
ICEDestBox
:
public
VirtualDestBox
...
...
modules/gui/qt4/dialogs/sout.cpp
View file @
655f6183
...
...
@@ -74,7 +74,8 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
ui
.
destBox
->
addItem
(
qtr
(
"File"
)
);
ui
.
destBox
->
addItem
(
"HTTP"
);
ui
.
destBox
->
addItem
(
"MS-WMSP (MMSH)"
);
ui
.
destBox
->
addItem
(
"RTP / Transport Stream"
);
ui
.
destBox
->
addItem
(
"RTP / MPEG Transport Stream"
);
ui
.
destBox
->
addItem
(
"RTP Audio/Video Profile"
);
ui
.
destBox
->
addItem
(
"UDP (legacy)"
);
ui
.
destBox
->
addItem
(
"IceCast"
);
...
...
@@ -158,14 +159,18 @@ void SoutDialog::addDest( )
caption
=
qfu
(
"WMSP"
);
break
;
case
3
:
db
=
new
RTPDestBox
(
this
);
db
=
new
RTPDestBox
(
this
,
"ts"
);
caption
=
"RTP/TS"
;
break
;
case
4
:
db
=
new
RTPDestBox
(
this
);
caption
=
"RTP/AVP"
;
break
;
case
5
:
db
=
new
UDPDestBox
(
this
);
caption
=
"UDP"
;
break
;
case
5
:
case
6
:
db
=
new
ICEDestBox
(
this
);
caption
=
"Icecast"
;
break
;
...
...
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