[vlc-commits] commit: Set CD_DEVICE and DVD_DEVICE to device names appropriate for OpenBSD. ( Brad Smith )

git at videolan.org git at videolan.org
Wed Aug 11 17:20:06 CEST 2010


vlc | branch: master | Brad Smith <brad at comstyle.com> | Mon Aug  9 18:11:16 2010 -0400| [9adb17b9449595217b9e9a4c7e3c0c4bd8f2c1e3] | committer: Rémi Denis-Courmont 

Set CD_DEVICE and DVD_DEVICE to device names appropriate for OpenBSD.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 include/vlc_config.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/vlc_config.h b/include/vlc_config.h
index 5727629..4be0107 100644
--- a/include/vlc_config.h
+++ b/include/vlc_config.h
@@ -80,8 +80,13 @@
 
 /* DVD and VCD devices */
 #if !defined( WIN32 ) && !defined( UNDER_CE )
+#if defined(__OpenBSD__)
+#   define CD_DEVICE      "/dev/cd0c"
+#   define DVD_DEVICE     "/dev/cd0c"
+#else
 #   define CD_DEVICE      "/dev/cdrom"
 #   define DVD_DEVICE     "/dev/dvd"
+#endif
 #else
 #   define CD_DEVICE      "D:"
 #   define DVD_DEVICE     NULL



More information about the vlc-commits mailing list