Mercurial > mplayer.hg
view libmpdvdkit2/README @ 13568:1cb0e1833515
Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get
a simple 32 bits protected mode interface to some VESA functions. This
protected mode interface is interesting because it's quicker than the
raw int 10h interface.
Unfortunatly, begining with VBE 3.0, the 0x4f0a function is optional,
and some video cards don't implement it (3dfx, intel 845/855/865...).
This protected mode interface is then only used in vbeSetWindow and
vbeSetDisplayStart :
?- vbeSetWindow already implement an alternative methode if protected
mode interface is not available.
?- vbeSetDisplayStart also contain an alternative implementation, but
this one is disabled with a #if 0. I don't exactly know why because
it works well !
So currently, cards which don't have the 0x4f0a function are not
supported. This patch correct this.
?- vbeGetProtModeInfo failure is not fatal.
?- vbeSetDisplayStart has it's alternative implementation reenabled.
? ?it's used only with cards which don't have the 0x4f0a function
? ?so this won't make any difference for cards which were already
? ?working.
This patch also make the failure of vbeGetModeInfo not fatal. The
VBE 3.0 standard state that GetModeInfo can fail with some mode
which are listed as supported if the mode can't be used in the
current situation (not enough video memory for example). So a
failure of vbeGetModeInfo don't mean that other modes won't work
and should really not be fatal.
patch by Aurelien Jacobs <aurel@gnuage.org>
author | faust3 |
---|---|
date | Wed, 06 Oct 2004 08:42:13 +0000 |
parents | f0f0f176d298 |
children | 483e955893b8 |
line wrap: on
line source
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.5 - 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