[MPlayer-users] Re: Linux on i686: "DVD ioctls are unavailable on this system"
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Nov 26 14:17:05 CET 2006
Hello,
On Sun, Nov 26, 2006 at 01:21:44PM +0100, Jan Schiefer wrote:
> Sorry.
>
> I used --enable-libdvdcss-internal.
> I can't understand why it is disabled by default. I had to use it to get
> some libdvdcss into mplayer.
Well, if you use (external) libdvdnav you're of course supposed to
install and use external libdvdcss, too (what good is dvdnav without
dvdcss anyway?).
But if you say that in principle the internal dvdcss can be combined
with external dvdnav, you could test attached patch for configure.
Greetings,
Reimar Döffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 21256)
+++ configure (working copy)
@@ -5168,15 +5168,6 @@
_def_dvdread='#define USE_DVDREAD 1'
_inputmodules="dvdread $_inputmodules"
_largefiles=yes
- if linux || netbsd || openbsd || bsdos ; then
- _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
- openbsd && _dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1'
- elif freebsd ; then
- _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
- elif darwin ; then
- _def_dvd_darwin='#define DARWIN_DVD_IOCTL'
- _ld_extra="$_ld_extra -framework IOKit"
- fi
elif test "$_dvdread" = yes; then
_def_dvdread='#define USE_DVDREAD 1'
_inputmodules="dvdread $_inputmodules"
@@ -5196,6 +5187,15 @@
test "$_dvdread_internal" = yes && _libdvdcss_internal=yes
fi
if test "$_libdvdcss_internal" = yes ; then
+ if linux || netbsd || openbsd || bsdos ; then
+ _def_dvd_linux='#define HAVE_LINUX_DVD_STRUCT 1'
+ openbsd && _dev_dvd_openbsd='#define HAVE_OPENBSD_DVD_STRUCT 1'
+ elif freebsd ; then
+ _def_dvd_bsd='#define HAVE_BSD_DVD_STRUCT 1'
+ elif darwin ; then
+ _def_dvd_darwin='#define DARWIN_DVD_IOCTL'
+ _ld_extra="$_ld_extra -framework IOKit"
+ fi
_inputmodules="libdvdcss $_inputmodules"
else
_noinputmodules="libdvdcss $_noinputmodules"
More information about the MPlayer-users
mailing list