mpv/libmpdvdkit2
jkeil 2ae8812645 Fix DVD authentication on Solaris 9.
Solaris 9 does not allow USCSICMD ioctls for non-root users on vold devices
any more; they are failing with an EPERM "permission denied" error.  Now, only
root is allowed to run USCSICMD ioctls on vold devices.

Fortunatelly there's a new subroutine exported from libsmedia.so
(smedia_uscsi_cmd) which allows non-root users to perform user mode SCSI
commands on a vold device.  (This works with a help of a daemon running as
user root, /usr/lib/smedia/rpc.smserverd)

This change detects the presence of function "smedia_uscsi_cmd" in library
libsmedia.so at runtime, and uses this function if it's found (i.e. on
solaris 9 smedia_uscsi_cmd() is used to execture user mode scsi commands).
On solaris 8 or older, "smedia_uscsi_cmd" is not available and the code
falls back to the old ioctl(.. USCSICMD ..) method.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8576 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-27 16:29:11 +00:00
..
.cvsignore *** empty log message *** 2002-09-01 16:57:06 +00:00
Makefile
README Bah, if we start spellchecking this, we might as well do it right ;-) 2002-08-17 10:25:18 +00:00
bsdi_dvd.h
bsdi_ioctl.c
bswap.h
common.h
config.h hpux scsi dvd support by Martin Gansser <mgansser@ngi.de> 2002-09-13 22:04:11 +00:00
css.c *HUGE* set of compiler warning fixes, unused variables removal 2002-11-06 23:54:29 +00:00
css.h
csstables.h
device.c
device.h
dvd_input.c
dvd_input.h
dvd_reader.c hpux DVD support fixes by Martin Gansser <mgansser@ngi.de> 2002-09-16 20:46:31 +00:00
dvd_reader.h
dvd_udf.c
dvd_udf.h
dvdcss.h
error.c
ifo_print.c
ifo_print.h
ifo_read.c
ifo_read.h
ifo_types.h
ioctl.c Fix DVD authentication on Solaris 9. 2002-12-27 16:29:11 +00:00
ioctl.h
libdvdcss.c *HUGE* set of compiler warning fixes, unused variables removal 2002-11-06 23:54:29 +00:00
libdvdcss.h
nav_print.c
nav_print.h
nav_read.c 100l patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>) 2002-11-23 12:37:06 +00:00
nav_read.h
nav_types.h

README

MPlayer DVD-kit v2.2 :)
made by Pontscho & A'rpi for the MPlayer project

What the hell is this?
======================
Nothing special, just a collection of sources and patches and fixes:

- dvdread 0.9.3 + static libdvdcss (removed dlopen code)
- libdvdcss 1.2.2 + per-disc css key cache patch
- optimizations enabled, asserts disabled
everything packed together with _static_ linking to maximize performance.

Why?
====
Users keep complaining about the still not fixed assert() bug, the
buggy libdvdcss 1.0 or the slow key-cracking process...
So Pontscho decided to pack these together, fix bugs and make it
available for the MPlayer users.

Hey, I don't like this, this is not legal!
==========================================
It is GPL code, so it should be legal, anyway if you don't want it, just
delete this directory! MPlayer's ./configure will check if this directory
exists, so it is OK to delete it.

How to compile mpdvdkit as a shared library (lib*.so)?
======================================================
After running MPlayer's ./configure, change this line in config.mak:
DVDKIT_SHARED = no
to:
DVDKIT_SHARED = yes
and make; make install; ldconfig