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
4f75c7f0
Commit
4f75c7f0
authored
Nov 23, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: update DVD title/chapter syntax, add it for BD
parent
f2b4f047
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+20
-18
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
4f75c7f0
...
@@ -505,38 +505,40 @@ void DiscOpenPanel::updateMRL()
...
@@ -505,38 +505,40 @@ void DiscOpenPanel::updateMRL()
else
else
discPath
=
ui
.
deviceCombo
->
currentText
();
discPath
=
ui
.
deviceCombo
->
currentText
();
/*
CDDAX and VCDX not implemented. TODO ? No.
*/
/*
MRL scheme
*/
/* DVD */
/* DVD */
if
(
ui
.
dvdRadioButton
->
isChecked
()
)
{
if
(
ui
.
dvdRadioButton
->
isChecked
()
)
{
if
(
!
ui
.
dvdsimple
->
isChecked
()
)
if
(
!
ui
.
dvdsimple
->
isChecked
()
)
mrl
=
"dvd://"
LOCALHOST
+
discPath
;
mrl
=
"dvd://"
LOCALHOST
;
else
else
mrl
=
"dvdsimple://"
LOCALHOST
+
discPath
;
mrl
=
"dvdsimple://"
LOCALHOST
+
discPath
;
}
else
if
(
ui
.
bdRadioButton
->
isChecked
()
)
mrl
=
"bluray://"
LOCALHOST
;
/* VCD */
else
if
(
ui
.
vcdRadioButton
->
isChecked
()
)
mrl
=
"vcd://"
LOCALHOST
;
/* CDDA */
else
mrl
=
"cdda://"
LOCALHOST
;
if
(
ui
.
titleSpin
->
value
()
>
0
)
{
mrl
+=
discPath
;
mrl
+=
QString
(
"@%1"
).
arg
(
ui
.
titleSpin
->
value
()
);
if
(
ui
.
chapterSpin
->
value
()
>
0
)
{
/* Title/chapter encoded in MRL */
if
(
ui
.
titleSpin
->
value
()
>
0
)
{
if
(
ui
.
dvdRadioButton
->
isChecked
()
||
ui
.
bdRadioButton
->
isChecked
()
)
{
mrl
+=
QString
(
"#%1"
).
arg
(
ui
.
titleSpin
->
value
()
);
if
(
ui
.
chapterSpin
->
value
()
>
0
)
mrl
+=
QString
(
":%1"
).
arg
(
ui
.
chapterSpin
->
value
()
);
mrl
+=
QString
(
":%1"
).
arg
(
ui
.
chapterSpin
->
value
()
);
}
}
}
}
else
if
(
ui
.
bdRadioButton
->
isChecked
()
)
{
else
if
(
ui
.
vcdRadioButton
->
isChecked
()
)
mrl
=
"bluray://"
LOCALHOST
+
discPath
;
/* VCD */
}
else
if
(
ui
.
vcdRadioButton
->
isChecked
()
)
{
mrl
=
"vcd://"
LOCALHOST
+
discPath
;
if
(
ui
.
titleSpin
->
value
()
>
0
)
mrl
+=
QString
(
"@%1"
).
arg
(
ui
.
titleSpin
->
value
()
);
mrl
+=
QString
(
"@%1"
).
arg
(
ui
.
titleSpin
->
value
()
);
/* CDDA */
}
else
{
mrl
=
"cdda://"
LOCALHOST
+
discPath
;
}
}
emit
methodChanged
(
"disc-caching"
);
emit
methodChanged
(
"disc-caching"
);
fileList
<<
mrl
;
mrl
=
""
;
fileList
<<
mrl
;
mrl
=
""
;
/* Input item options */
if
(
ui
.
dvdRadioButton
->
isChecked
()
||
ui
.
vcdRadioButton
->
isChecked
()
)
if
(
ui
.
dvdRadioButton
->
isChecked
()
||
ui
.
vcdRadioButton
->
isChecked
()
)
{
{
if
(
ui
.
audioSpin
->
value
()
>=
0
)
{
if
(
ui
.
audioSpin
->
value
()
>=
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