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
ea179941
Commit
ea179941
authored
Oct 10, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: update discs MRL syntax for Windows
parent
4dc568d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+10
-4
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
ea179941
...
...
@@ -466,6 +466,12 @@ void DiscOpenPanel::updateButtons()
#undef setDrive
#ifndef WIN32
# define LOCALHOST ""
#else
# define LOCALHOST "/"
#endif
/* Update the current MRL */
void
DiscOpenPanel
::
updateMRL
()
{
...
...
@@ -476,9 +482,9 @@ void DiscOpenPanel::updateMRL()
/* DVD */
if
(
ui
.
dvdRadioButton
->
isChecked
()
)
{
if
(
!
ui
.
dvdsimple
->
isChecked
()
)
mrl
=
"dvd://"
;
mrl
=
"dvd://"
LOCALHOST
;
else
mrl
=
"dvdsimple://"
;
mrl
=
"dvdsimple://"
LOCALHOST
;
mrl
+=
ui
.
deviceCombo
->
currentText
();
if
(
!
ui
.
dvdsimple
->
isChecked
()
)
emit
methodChanged
(
"dvdnav-caching"
);
...
...
@@ -494,7 +500,7 @@ void DiscOpenPanel::updateMRL()
/* VCD */
}
else
if
(
ui
.
vcdRadioButton
->
isChecked
()
)
{
mrl
=
"vcd://"
+
ui
.
deviceCombo
->
currentText
();
mrl
=
"vcd://"
LOCALHOST
+
ui
.
deviceCombo
->
currentText
();
emit
methodChanged
(
"vcd-caching"
);
if
(
ui
.
titleSpin
->
value
()
>
0
)
{
...
...
@@ -503,7 +509,7 @@ void DiscOpenPanel::updateMRL()
/* CDDA */
}
else
{
mrl
=
"cdda://"
+
ui
.
deviceCombo
->
currentText
();
mrl
=
"cdda://"
LOCALHOST
+
ui
.
deviceCombo
->
currentText
();
emit
methodChanged
(
"cdda-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