Commit a256154f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Set default DVD defice

parent 2cb8ab43
......@@ -87,12 +87,14 @@
/* DVD and VCD devices */
#if !defined( WIN32 ) && !defined( UNDER_CE )
# define VCD_DEVICE "/dev/cdrom"
# define CDAUDIO_DEVICE "/dev/cdrom"
# define CD_DEVICE "dev/cdrom"
# define DVD_DEVICE "/dev/dvd"
#else
# define VCD_DEVICE "D:"
# define CDAUDIO_DEVICE "D:"
# define CD_DEVICE "D:"
# define DVD_DEVICE CD_DEVICE
#endif
#define VCD_DEVICE CD_DEVICE
#define CDAUDIO_DEVICE CD_DEVICE
/*****************************************************************************
* Audio configuration
......
......@@ -1613,7 +1613,7 @@ vlc_module_begin();
set_section( N_( "Default devices") , NULL );
add_file( "dvd", NULL, NULL, DVD_DEV_TEXT, DVD_DEV_LONGTEXT,
add_file( "dvd", DVD_DEVICE, NULL, DVD_DEV_TEXT, DVD_DEV_LONGTEXT,
VLC_FALSE );
add_file( "vcd", VCD_DEVICE, NULL, VCD_DEV_TEXT, VCD_DEV_LONGTEXT,
VLC_FALSE );
......
Markdown is supported
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