summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-30 08:17:48 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-30 08:17:48 +0000
commit666adde0065a7b9d22e61a1a0eaa1145feae7862 (patch)
treee621f2f7b991ac8de07a46b8a90df51c416e5c01 /configure
parenta8db0e4a909df5857753fb0e6280e5c70fa4c5c5 (diff)
downloadmpv-666adde0065a7b9d22e61a1a0eaa1145feae7862.tar.bz2
mpv-666adde0065a7b9d22e61a1a0eaa1145feae7862.tar.xz
fix XVideo misdetection on OSF/1, patch by Gabucino <gabucino at mplayerhq.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13803 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index a1f090c89f..d348cc1079 100755
--- a/configure
+++ b/configure
@@ -3394,7 +3394,10 @@ if test "$_x11" = yes && test "$_xv" != no ; then
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