[vlc-commits] Linux: update default optical disk paths

Rémi Denis-Courmont git at videolan.org
Sat Feb 15 12:23:06 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb 14 19:29:51 2014 +0200| [98b613b11cb0465e7dce13a803dcabb182fd2b2c] | committer: Rémi Denis-Courmont

Linux: update default optical disk paths

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=98b613b11cb0465e7dce13a803dcabb182fd2b2c
---

 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"



More information about the vlc-commits mailing list