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
72a89a81
Commit
72a89a81
authored
Oct 03, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/open.cpp: fixed open dialog for mms/mmsh/ftp streams.
parent
1161687d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+7
-8
No files found.
modules/gui/wxwindows/open.cpp
View file @
72a89a81
...
...
@@ -785,7 +785,7 @@ void OpenDialog::UpdateMRL()
void
OpenDialog
::
UpdateMRL
(
int
i_access_method
)
{
wxString
demux
,
mrltemp
,
caching_name
;
wxString
mrltemp
,
caching_name
;
i_current_access_method
=
i_access_method
;
...
...
@@ -866,7 +866,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
switch
(
i_net_type
)
{
case
0
:
mrltemp
=
wxT
(
"udp
"
)
+
demux
+
wxT
(
"
://"
);
mrltemp
=
wxT
(
"udp://"
);
if
(
net_ipv6
->
GetValue
()
)
{
mrltemp
+=
wxT
(
"@[::]"
);
...
...
@@ -881,7 +881,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
break
;
case
1
:
mrltemp
=
wxT
(
"udp
"
)
+
demux
+
wxT
(
"
://@"
);
mrltemp
=
wxT
(
"udp://@"
);
if
((
net_addrs
[
1
]
->
GetLineText
(
0
).
Find
(
':'
)
!=
-
1
)
&&
(
net_addrs
[
1
]
->
GetLineText
(
0
)[
0u
]
!=
'['
))
{
...
...
@@ -903,10 +903,9 @@ void OpenDialog::UpdateMRL( int i_access_method )
case
2
:
/* http access */
if
(
net_addrs
[
2
]
->
GetLineText
(
0
).
Find
(
wxT
(
"http://"
))
)
{
mrltemp
=
wxT
(
"http"
)
+
demux
+
wxT
(
"://"
);
}
if
(
net_addrs
[
2
]
->
GetLineText
(
0
).
Find
(
wxT
(
"://"
))
==
-
1
)
mrltemp
=
wxT
(
"http://"
);
mrltemp
+=
net_addrs
[
2
]
->
GetLineText
(
0
);
caching_name
=
wxT
(
"http-caching"
);
...
...
@@ -916,7 +915,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
/* RTSP access */
if
(
net_addrs
[
3
]
->
GetLineText
(
0
).
Find
(
wxT
(
"rtsp://"
))
!=
0
)
{
mrltemp
=
wxT
(
"rtsp
"
)
+
demux
+
wxT
(
"
://"
);
mrltemp
=
wxT
(
"rtsp://"
);
}
mrltemp
+=
net_addrs
[
3
]
->
GetLineText
(
0
);
...
...
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