openbsd-ports/multimedia/xine-lib/patches/patch-src_input_input_dvd_c
jakemsr df581e9d78 initial import of xine-lib
xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It
also decodes multimedia files like AVI, MOV, WMV, and MP3 from local
disk drives, and displays multimedia streamed over the Internet. It
interprets many of the most common multimedia formats available - and
some of the most uncommon formats, too.

prodded by jolan@ and bernd@
2006-03-24 22:43:41 +00:00

24 lines
697 B
Plaintext

$OpenBSD: patch-src_input_input_dvd_c,v 1.1.1.1 2006/03/24 22:43:41 jakemsr Exp $
--- src/input/input_dvd.c.orig Fri Oct 14 16:02:16 2005
+++ src/input/input_dvd.c Thu Dec 29 23:39:05 2005
@@ -64,7 +64,7 @@
#endif /* WIN32 */
-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__)
#include <sys/dvdio.h>
#include <sys/cdio.h> /* CDIOCALLOW etc... */
#elif defined(HAVE_LINUX_CDROM_H)
@@ -123,8 +123,8 @@
#define DVD_PATH "d:\\"
#define RDVD_PATH "d:\\"
#else
-#define DVD_PATH "/dev/dvd"
-#define RDVD_PATH "/dev/rdvd"
+#define DVD_PATH "/dev/rcd0c"
+#define RDVD_PATH "/dev/rcd0c"
#endif
/* Some misc. defines */