[vlc-commits] Update default DVD and CD paths on Linux

Rémi Denis-Courmont git at videolan.org
Fri Feb 1 16:53:47 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb  1 17:52:32 2013 +0200| [2cb909b3bfa737d82c29345bae27a2848b0ce719] | committer: Rémi Denis-Courmont

Update default DVD and CD paths on Linux

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

 src/libvlc-module.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 640c3ae..743546d 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -787,6 +787,9 @@ static const char *const ppsz_prefres[] = {
 # if defined(__OpenBSD__)
 #  define DVD_DEVICE     "/dev/cd0c"
 #  define CD_DEVICE      "/dev/cd0c"
+# elif defined(__linux__)
+#  define DVD_DEVICE     "/dev/dvd1"
+#  define CD_DEVICE      "/dev/cdrom1"
 # else
 #  define DVD_DEVICE     "/dev/dvd"
 #  define CD_DEVICE      "/dev/cdrom"



More information about the vlc-commits mailing list