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
dd11b531
Commit
dd11b531
authored
Jul 07, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fixed open network panel."
This reverts commit
000f1e1f
.
parent
9bc8ac74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+9
-16
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
dd11b531
...
@@ -420,21 +420,15 @@ NetOpenPanel::NetOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
...
@@ -420,21 +420,15 @@ NetOpenPanel::NetOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
CONNECT
(
ui
.
timeShift
,
clicked
(),
this
,
updateMRL
());
CONNECT
(
ui
.
timeShift
,
clicked
(),
this
,
updateMRL
());
CONNECT
(
ui
.
ipv6
,
clicked
(),
this
,
updateMRL
());
CONNECT
(
ui
.
ipv6
,
clicked
(),
this
,
updateMRL
());
typedef
QPair
<
QString
,
QString
>
QPairString
;
ui
.
protocolCombo
->
addItem
(
""
);
QMap
<
int
,
QPairString
>
protocols
;
ui
.
protocolCombo
->
addItem
(
"HTTP"
,
QVariant
(
"http"
));
#define P(value,name,dsc) do { protocols[value] = QPairString( QString(dsc), QString(name) );} while(0)
ui
.
protocolCombo
->
addItem
(
"HTTPS"
,
QVariant
(
"https"
));
P
(
NO_PROTO
,
""
,
""
);
ui
.
protocolCombo
->
addItem
(
"FTP"
,
QVariant
(
"ftp"
));
P
(
UDPM_PROTO
,
"udp"
,
"UDP/RTP (multicast)"
);
ui
.
protocolCombo
->
addItem
(
"MMS"
,
QVariant
(
"mms"
));
P
(
HTTP_PROTO
,
"http"
,
"HTTP"
);
ui
.
protocolCombo
->
addItem
(
"RTSP"
,
QVariant
(
"rtsp"
));
P
(
HTTPS_PROTO
,
"https"
,
"HTTPS"
);
ui
.
protocolCombo
->
addItem
(
"UDP/RTP (unicast)"
,
QVariant
(
"udp"
));
P
(
MMS_PROTO
,
"mms"
,
"MMS"
);
ui
.
protocolCombo
->
addItem
(
"UDP/RTP (multicast)"
,
QVariant
(
"udp"
));
P
(
FTP_PROTO
,
"ftp"
,
"FTP"
);
ui
.
protocolCombo
->
addItem
(
"RTMP"
,
QVariant
(
"rtmp"
));
P
(
RTSP_PROTO
,
"rtsp"
,
"RTSP"
);
P
(
UDP_PROTO
,
"udp"
,
"UDP/RTP (unicast)"
);
P
(
RTMP_PROTO
,
"rtmp"
,
"RTMP"
);
#undef P
foreach
(
QPairString
e
,
protocols
)
/* Sorted by key, exactly what we need */
ui
.
protocolCombo
->
addItem
(
e
.
first
,
QVariant
(
e
.
second
.
isEmpty
()
)
);
}
}
NetOpenPanel
::~
NetOpenPanel
()
NetOpenPanel
::~
NetOpenPanel
()
...
@@ -526,7 +520,6 @@ void NetOpenPanel::updateMRL() {
...
@@ -526,7 +520,6 @@ void NetOpenPanel::updateMRL() {
else
mrl
+=
addr
;
else
mrl
+=
addr
;
mrl
+=
QString
(
":%1"
).
arg
(
ui
.
portSpin
->
value
()
);
mrl
+=
QString
(
":%1"
).
arg
(
ui
.
portSpin
->
value
()
);
emit
methodChanged
(
"udp-caching"
);
emit
methodChanged
(
"udp-caching"
);
break
;
case
RTMP_PROTO
:
case
RTMP_PROTO
:
mrl
=
"rtmp://"
+
addr
;
mrl
=
"rtmp://"
+
addr
;
emit
methodChanged
(
"rtmp-caching"
);
emit
methodChanged
(
"rtmp-caching"
);
...
...
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