mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
a8db0e4a90
commit
666adde006
|
@ -3394,7 +3394,10 @@ if test "$_x11" = yes && test "$_xv" != no ; then
|
||||||
cat > $TMPC <<EOF
|
cat > $TMPC <<EOF
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/extensions/Xvlib.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
|
EOF
|
||||||
_xv=no
|
_xv=no
|
||||||
cc_check $_inc_x11 -lXv $_ld_x11 && _xv=yes
|
cc_check $_inc_x11 -lXv $_ld_x11 && _xv=yes
|
||||||
|
|
Loading…
Reference in New Issue