Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
61a89bc8
Commit
61a89bc8
authored
Jul 16, 2005
by
Rocky Bernstein
Browse files
Don't use "Track" for VCDX, "Entry" or "LID" should be used.
parent
e69d3141
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/wxwindows/open.cpp
View file @
61a89bc8
...
...
@@ -1377,12 +1377,28 @@ void OpenDialog::OnDiscProbe( wxCommandEvent& WXUNUSED(event) )
CdIo_t
*
p_cdio
=
cdio_open
(
psz_device
,
DRIVER_UNKNOWN
);
disc_device
->
SetValue
(
wxL2U
(
psz_device
)
);
#ifdef HAVE_VCDX
/* FIXME: get information from libvcdinfo. */
if
(
config_GetInt
(
p_intf
,
"vcdx-PBC"
))
{
/* Set largest LID. */
;
;
}
else
{
/* Set largest Entry */
;
}
#else
/* Set track range accurately if possible. */
if
(
p_cdio
)
{
track_t
i_last_track
=
cdio_get_last_track_num
(
p_cdio
);
disc_title
->
SetRange
(
0
,
i_last_track
-
1
);
}
#endif
free
(
psz_device
);
cdio_destroy
(
p_cdio
);
break
;
...
...
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