[vlc-devel] Re: default dvd/vcd/audio cd device (on windows)
massiot at via.ecp.fr
Sun Sep 4 17:12:56 CEST 2005
At 14:48 +0000 4/09/05, Brian Robb wrote:
>When you do File->Open Disc... the device name is *always* D:
>But if you have a second hard-drive, that'll be D: and your cdrom
>drive will be E:
>(Or if you have a third hard-drive your cdrom drive will be F:, etc...)
>This is because D: is hard-coded in vlc_config.h, like so:
>#if !defined( WIN32 ) && !defined( UNDER_CE )
># define DVD_DEVICE "/dev/dvd"
># define VCD_DEVICE "/dev/cdrom"
># define CDAUDIO_DEVICE "/dev/cdrom"
># define DVD_DEVICE "D:"
># define VCD_DEVICE "D:"
># define CDAUDIO_DEVICE "D:"
>So I've made it so that it sets the device name as the first cdrom
>drive it finds...
>Here's what I did:
Please patch against the latest SVN. In the latest SVN the device is
no longer hard-coded, by default it is left empty and libdvdcss will
autodetect the first available CD-ROM drive.
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel