mirror of https://github.com/mpv-player/mpv
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 |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile | ||
README | ||
bsdi_dvd.h | ||
bsdi_ioctl.c | ||
bswap.h | ||
common.h | ||
config.h | ||
css.c | ||
css.h | ||
csstables.h | ||
device.c | ||
device.h | ||
dvd_input.c | ||
dvd_input.h | ||
dvd_reader.c | ||
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 | ||
ioctl.h | ||
libdvdcss.c | ||
libdvdcss.h | ||
nav_print.c | ||
nav_print.h | ||
nav_read.c | ||
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