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
cbbcad97
Commit
cbbcad97
authored
Dec 11, 2003
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VCD or CD "title" 0 means adds entire contents (or possibly PBC for VCD).
parent
c882cec2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
11 deletions
+47
-11
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+47
-11
No files found.
modules/gui/wxwindows/open.cpp
View file @
cbbcad97
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: open.cpp,v 1.5
0 2003/12/11 05:27:23
rocky Exp $
* $Id: open.cpp,v 1.5
1 2003/12/11 12:52:39
rocky Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -694,23 +694,38 @@ void OpenDialog::UpdateMRL( int i_access_method )
disc_chapter
->
GetValue
()
);
break
;
case
2
:
mrltemp
=
#ifdef HAVE_VCDX
wxT
(
"vcdx://"
);
if
(
disc_title
->
GetValue
()
)
mrltemp
=
wxT
(
"vcdx://"
)
+
disc_device
->
GetValue
()
+
wxString
::
Format
(
wxT
(
"@%c%d"
),
config_GetInt
(
p_intf
,
"vcdx-PBC"
)
?
'P'
:
'E'
,
disc_title
->
GetValue
()
);
else
mrltemp
=
wxT
(
"vcdx://"
)
+
disc_device
->
GetValue
();
#else
wxT
(
"vcd://"
)
mrltemp
=
wxT
(
"vcd://"
)
+
disc_device
->
GetValue
()
+
wxString
::
Format
(
wxT
(
"@%d:%d"
),
disc_title
->
GetValue
(),
disc_chapter
->
GetValue
()
);
+
wxString
::
Format
(
wxT
(
"@%d"
),
disc_title
->
GetValue
()
);
#endif
break
;
case
3
:
mrltemp
=
#ifdef HAVE_CDDAX
wxT
(
"cddax://"
);
if
(
disc_title
->
GetValue
()
)
mrltemp
=
wxT
(
"cddax://"
)
+
disc_device
->
GetValue
()
+
wxString
::
Format
(
wxT
(
"@T%d"
),
disc_title
->
GetValue
()
);
else
mrltemp
=
wxT
(
"cddax://"
)
+
disc_device
->
GetValue
();
#else
wxT
(
"cdda://"
)
mrltemp
=
wxT
(
"cdda://"
)
+
disc_device
->
GetValue
()
+
wxString
::
Format
(
wxT
(
"@%d"
),
disc_title
->
GetValue
()
);
...
...
@@ -1002,6 +1017,8 @@ void OpenDialog::OnDiscDeviceChange( wxCommandEvent& event )
psz_device
=
config_GetPsz
(
p_intf
,
"dvd"
);
break
;
}
if
(
!
psz_device
)
psz_device
=
""
;
if
(
disc_device
->
GetValue
().
Cmp
(
wxU
(
psz_device
)
)
)
{
...
...
@@ -1050,7 +1067,26 @@ void OpenDialog::OnDiscTypeChange( wxCommandEvent& WXUNUSED(event) )
disc_title
->
SetRange
(
0
,
255
);
disc_title
->
SetValue
(
0
);
break
;
case
2
:
/* There are at most 100 tracks in a VCD */
disc_title
->
SetRange
(
0
,
100
);
#ifdef HAVE_VCDX
disc_title
->
SetValue
(
0
);
#else
disc_title
->
SetValue
(
1
);
#endif
break
;
case
3
:
/* There are at most 100 tracks in a CD */
#ifdef HAVE_CDDAX
disc_title
->
SetRange
(
0
,
100
);
disc_title
->
SetValue
(
0
);
break
;
#else
disc_title
->
SetRange
(
1
,
100
);
disc_title
->
SetValue
(
1
);
#endif
break
;
default:
disc_title
->
SetRange
(
1
,
255
);
disc_title
->
SetValue
(
1
);
...
...
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