[MPlayer-dev-eng] [PATCH] enhanced XVideo detection
Gabucino
gabucino at mplayerhq.hu
Tue Oct 26 23:36:38 CEST 2004
This is a patch which checks for one more necessary XVideo
function. Fixes XVideo misdetection on OSF/1 (now it won't die
with compile error).
--
Gabucino
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.925
diff -u -r1.925 configure
--- configure 24 Oct 2004 13:37:35 -0000 1.925
+++ configure 26 Oct 2004 21:33:39 -0000
@@ -3386,7 +3386,10 @@
cat > $TMPC <<EOF
#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
-int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }
+int main(void) {
+ (void) XvGetPortAttribute(0, 0, 0, 0);
+ (void) XvQueryPortAttributes(0, 0, 0);
+ return 0; }
EOF
_xv=no
cc_check $_inc_x11 -lXv $_ld_x11 && _xv=yes
More information about the MPlayer-dev-eng
mailing list