view libmpdvdkit2/config.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 24c517eeac25
children acab62e4e026
line wrap: on
line source


/* Version number of package */
#define VERSION "1.2.2"
#define HAVE_UNISTD_H 1

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#ifdef HAVE_MPLAYER

#include "../config.h"

#else

#undef WORDS_BIGENDIAN

/* Define if you have the <stddef.h> header file.  */
#define HAVE_STDDEF_H 1

/* Define if <sys/dvdio.h> defines dvd_struct. */
#undef DVD_STRUCT_IN_SYS_DVDIO_H

/* Define if <sys/cdio.h> defines dvd_struct. */
#undef DVD_STRUCT_IN_SYS_CDIO_H

/* Define if <linux/cdrom.h> defines DVD_STRUCT. */
#define DVD_STRUCT_IN_LINUX_CDROM_H 1

/* Define if <dvd.h> defines DVD_STRUCT. */
#undef DVD_STRUCT_IN_DVD_H

/* Define if <extras/BSDI_dvdioctl/dvd.h> defines DVD_STRUCT. */
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H

/* HPUX SCSI headers. */
#undef HPUX_SCTL

/* Have userspace SCSI headers. */
#undef SOLARIS_USCSI

/* Define if Linux-like dvd_struct is defined. */
#define HAVE_LINUX_DVD_STRUCT 1

/* Define if BSD-like dvd_struct is defined. */
#undef HAVE_BSD_DVD_STRUCT

#endif

/* assert support */
#undef HAVE_ASSERT_H

#ifndef HAVE_ASSERT_H
 #define assert( ... ) do {} while(0)
#endif