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

Rémi Denis-Courmont remi at remlab.net
Fri Feb 14 18:31:15 CET 2014


---
 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"
-- 
1.9.0.rc3




More information about the vlc-devel mailing list