[vlc-devel] [PATCH] Linux: update default optical disk paths

Rafaël Carré funman at videolan.org
Sat Feb 15 14:26:08 CET 2014


On 02/14/14 18:31, Rémi Denis-Courmont wrote:
> ---
>  src/libvlc-module.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/libvlc-module.c b/src/libvlc-module.c
> index 98ab470..ddc17df 100644
> --- a/src/libvlc-module.c
> +++ b/src/libvlc-module.c
> @@ -777,8 +777,8 @@ static const char *const ppsz_prefres[] = {
>  #  define DVD_DEVICE     "/dev/cd0c"
>  #  define CD_DEVICE      "/dev/cd0c"
>  # elif defined(__linux__)
> -#  define DVD_DEVICE     "/dev/dvd1"
> -#  define CD_DEVICE      "/dev/cdrom1"
> +#  define DVD_DEVICE     "/dev/sr0"
> +#  define CD_DEVICE      "/dev/sr0"
>  # else
>  #  define DVD_DEVICE     "/dev/dvd"
>  #  define CD_DEVICE      "/dev/cdrom"
> 

OK with me, thanks for fixing this



More information about the vlc-devel mailing list