Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7edb96d2
Commit
7edb96d2
authored
May 10, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Open Network Dialog: add https to the list and checks.
parent
32d03184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+7
-5
No files found.
modules/gui/qt4/components/open.cpp
View file @
7edb96d2
...
...
@@ -357,6 +357,7 @@ NetOpenPanel::NetOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
CONNECT
(
ui
.
ipv6
,
clicked
(),
this
,
updateMRL
());
ui
.
protocolCombo
->
addItem
(
"HTTP"
,
QVariant
(
"http"
));
ui
.
protocolCombo
->
addItem
(
"HTTPS"
,
QVariant
(
"https"
));
ui
.
protocolCombo
->
addItem
(
"FTP"
,
QVariant
(
"ftp"
));
ui
.
protocolCombo
->
addItem
(
"MMS"
,
QVariant
(
"mms"
));
ui
.
protocolCombo
->
addItem
(
"RTSP"
,
QVariant
(
"rtsp"
));
...
...
@@ -403,22 +404,23 @@ void NetOpenPanel::updateMRL() {
}
else
{
switch
(
proto
)
{
case
0
:
case
1
:
mrl
=
"http://"
+
addr
;
emit
methodChanged
(
"http-caching"
);
break
;
case
2
:
case
3
:
mrl
=
"mms://"
+
addr
;
emit
methodChanged
(
"mms-caching"
);
break
;
case
1
:
case
2
:
mrl
=
"ftp://"
+
addr
;
emit
methodChanged
(
"ftp-caching"
);
break
;
case
3
:
/* RTSP */
case
4
:
/* RTSP */
mrl
=
"rtsp://"
+
addr
;
emit
methodChanged
(
"rtsp-caching"
);
break
;
case
4
:
case
5
:
mrl
=
"udp://@"
;
if
(
ui
.
ipv6
->
isEnabled
()
&&
ui
.
ipv6
->
isChecked
()
)
{
mrl
+=
"[::]"
;
...
...
@@ -426,7 +428,7 @@ void NetOpenPanel::updateMRL() {
mrl
+=
QString
(
":%1"
).
arg
(
ui
.
portSpin
->
value
());
emit
methodChanged
(
"udp-caching"
);
break
;
case
5
:
/* UDP multicast */
case
6
:
/* UDP multicast */
mrl
=
"udp://@"
;
/* Add [] to IPv6 */
if
(
addr
.
contains
(
':'
)
&&
!
addr
.
contains
(
'['
)
)
{
...
...
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