Mercurial > mplayer.hg
view etc/cygwin_inttypes.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 | 438345c64f3a |
children |
line wrap: on
line source
#ifndef _CYGWIN_INTTYPES_H #define _CYGWIN_INTTYPES_H /* /usr/include/inttypes.h for CYGWIN * Copyleft 2001-2002 by Felix Buenemann * <atmosfear at users.sourceforge.net> * * Should be installed into /usr/include * as inttypes.h */ #if 0 typedef char * caddr_t; typedef char int8_t; typedef unsigned char u_int8_t; typedef short int16_t; typedef unsigned short u_int16_t; typedef int int32_t; typedef unsigned int u_int32_t; typedef long long int64_t; typedef unsigned long long u_int64_t; typedef int32_t register_t; #else #include <sys/types.h> #endif /* 0/1 */ typedef u_int8_t uint8_t; typedef u_int16_t uint16_t; typedef u_int32_t uint32_t; typedef u_int64_t uint64_t; #endif /* _CYGWIN_INTTYPES_H */