changeset 13678:dc1facd7c7b0

add vcd support to darwin for ppc
author nplourde
date Mon, 18 Oct 2004 20:30:07 +0000
parents 2e8b1e13b8c3
children 59bb11213d11
files configure libmpdemux/stream_vcd.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Oct 18 20:08:44 2004 +0000
+++ b/configure	Mon Oct 18 20:30:07 2004 +0000
@@ -4505,7 +4505,7 @@
 
 
 echocheck "VCD support"
-if linux || bsdos || freebsd || netbsd || sunos ; then
+if linux || bsdos || freebsd || netbsd || sunos || (darwin && ppc) ; then
   _inputmodules="vcd $_inputmodules"
   _def_vcd='#define HAVE_VCD 1'
   echores "ok"
@@ -6897,8 +6897,8 @@
 #define DEFAULT_CDROM_DEVICE    "D:"
 #define DEFAULT_DVD_DEVICE	"D:"
 #elif defined(SYS_DARWIN)
-#define DEFAULT_CDROM_DEVICE    "/dev/rdiskN"
-#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
+#define DEFAULT_CDROM_DEVICE    "/dev/disk1"
+#define DEFAULT_DVD_DEVICE	"/dev/rdiskN"
 #elif defined(__OpenBSD__)
 #define DEFAULT_CDROM_DEVICE	"/dev/rcd0a"
 #define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
--- a/libmpdemux/stream_vcd.c	Mon Oct 18 20:08:44 2004 +0000
+++ b/libmpdemux/stream_vcd.c	Mon Oct 18 20:30:07 2004 +0000
@@ -18,7 +18,9 @@
 #include <sys/cdrio.h>
 #include "vcd_read_fbsd.h" 
 #elif defined(__NetBSD__) || defined (__OpenBSD__)
-#include "vcd_read_nbsd.h" 
+#include "vcd_read_nbsd.h"
+#elif defined(MACOSX)
+#include "vcd_read_macosx.h" 
 #else
 #include "vcd_read.h"
 #endif