[vlc-commits] Linux: update default optical disk paths
Rémi Denis-Courmont
git at videolan.org
Sat Feb 15 16:36:40 CET 2014
vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Feb 14 19:29:51 2014 +0200| [fb1ccab1e3e54839ca5e08afb13c631addfb5216] | committer: Rémi Denis-Courmont
Linux: update default optical disk paths
(cherry picked from commit 98b613b11cb0465e7dce13a803dcabb182fd2b2c)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=fb1ccab1e3e54839ca5e08afb13c631addfb5216
---
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 8da7488..142de69 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -774,8 +774,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