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

Set default DVD defice

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