Commit 61a89bc8 authored by Rocky Bernstein's avatar Rocky Bernstein
Browse files

Don't use "Track" for VCDX, "Entry" or "LID" should be used.

parent e69d3141
...@@ -1377,12 +1377,28 @@ void OpenDialog::OnDiscProbe( wxCommandEvent& WXUNUSED(event) ) ...@@ -1377,12 +1377,28 @@ void OpenDialog::OnDiscProbe( wxCommandEvent& WXUNUSED(event) )
CdIo_t *p_cdio = cdio_open (psz_device, DRIVER_UNKNOWN); CdIo_t *p_cdio = cdio_open (psz_device, DRIVER_UNKNOWN);
disc_device->SetValue( wxL2U(psz_device) ); 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. */ /* Set track range accurately if possible. */
if (p_cdio) if (p_cdio)
{ {
track_t i_last_track = cdio_get_last_track_num(p_cdio); track_t i_last_track = cdio_get_last_track_num(p_cdio);
disc_title->SetRange( 0, i_last_track-1 ); disc_title->SetRange( 0, i_last_track-1 );
} }
#endif
free(psz_device); free(psz_device);
cdio_destroy(p_cdio); cdio_destroy(p_cdio);
break; break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment