Mercurial > mplayer.hg
view libmpdemux/dvdauth.h @ 9278:caea8ed36b48
The reason why mplayer crashes (in some cases) when using x11
output and -wid (>0) parameter is this:
Mplayer by default creates a colormap using DirectColor visual. If the
window given to mplayer uses TrueColor visual there will be an error
when mplayer sets the colormap for the window. This patch
modifies mplayer to use TrueColor visual if the window given to mplayer
uses TrueColor. Another solution is to make sure that the window given to
mplayer is created using DirectColor visual if it is supported by the
display.
Jouni Tulkki <jitulkki@cc.hut.fi>
author | arpi |
---|---|
date | Tue, 04 Feb 2003 18:31:44 +0000 |
parents | 9975a432cf47 |
children |
line wrap: on
line source
#ifdef HAVE_LIBCSS #ifndef _MPLAYER_CSS_H #define _MPLAYER_CSS_H extern char *dvd_auth_device; extern unsigned char key_disc[]; extern unsigned char key_title[]; extern unsigned char *dvdimportkey; extern int descrambling; extern char *css_so; int dvd_auth ( char *, char * ); int dvd_import_key ( unsigned char * ); void dvd_css_descramble ( u_char *, u_char * ); #endif #endif