[MPlayer-dev-eng] [PATCHES] Xv support under cygwin
Alex Beregszaszi
alex at naxine.org
Fri Jul 12 18:58:30 CEST 2002
Hi,
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.522
> diff -u -r1.522 configure
> --- configure 12 Jul 2002 03:26:46 -0000 1.522
> +++ configure 12 Jul 2002 16:33:46 -0000
> @@ -2164,7 +2164,7 @@
> int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }
> EOF
> _xv=no
> - cc_check $_inc_x11 $_ld_x11 -lXv && _xv=yes
> + cc_check -lXv $_inc_x11 $_ld_x11 && _xv=yes
i think that's bad
> else
> _xv=no
> fi
>
>
> Index: libvo/vo_xv.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
> retrieving revision 1.100
> diff -u -r1.100 vo_xv.c
> --- libvo/vo_xv.c 13 Jun 2002 15:08:37 -0000 1.100
> +++ libvo/vo_xv.c 12 Jul 2002 16:33:54 -0000
> @@ -75,8 +75,8 @@
> static int num_buffers=1; // default
> static XvImage* xvimage[NUM_BUFFERS];
>
> -#include <sys/ipc.h>
> #ifdef HAVE_SHM
> +#include <sys/ipc.h>
> #include <sys/shm.h>
> #include <X11/extensions/XShm.h>
also commited that part
-
alex
More information about the MPlayer-dev-eng
mailing list