[MPlayer-dev-eng] [PATH] libmpdvdkit and tvi_bsdbt848 on NetBSD

Arpi arpi at thot.banki.hu
Sun Apr 28 21:26:09 CEST 2002


Hi,

ok i'm even more confused than before.

so, please tell me, if your bsd OS uses bsd style dvd struct.
do not guess others, unelss you're 10000% sure


> On Sun, Apr 28, 2002 at 11:44:53AM -0700, Steven M. Schultz wrote:
> > Hi!
> > 
> > > From: Arpi <arpi at thot.banki.hu>
> > > 
> > > from the prev patch, sugegsts that netbsd has linux-style dvd
> 
> Correct, I was about to send an answer, but had to wait to get the digest
> mail (and now back to the non digest mails).
> 
> Thats why his configure change is correct on netbsd.
> 
> > 	Ah, ok.  I have FreeBSD, Linux and BSD/OS systems but not a NetBSD
> > 	one (yet;)).   I know FreeBSD has <dvdio.h> instead of <dvd.h>
> 
> NetBSD has also <dvdio.h>.
> 
> > > is there a way to detect the type of dvd struct, instead of hardwiring t
> o
> > > os?
> > 
> > 	I was going to make that suggestion ;)
> > 
> > 	Testing for capabilities and .h files would be much better than
> > 	hardwiring by OS type.
> > 
> > 	My suggestion (which will work for FreeBSD and BSD/OS) is soemthing
> > 	like this:
> > 
> > 	Check for <dvdio.h>, if it exists then check that something like
> > 	"struct dvd_struct foo;" will compile.   If it succeeds then "BSD"
> > 	style is present.
> 
> Are you sure that you don't mix it up again?
> 
> Thats a way to test for HAVE_LINUX_DVD_STRUCT, at least on NetBSD and I gues
> s
> it is the same on FreeBSD, BSD/OS and maye on OpenBSD.
> 
> Bernd
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list