From 153cac185c2d38aef1c322ea3bfa2b97befbb8d9 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Wed, 11 Nov 2009 22:26:38 +0000 Subject: Do not dynamically load libvdpau.so.1, but link at compile time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29903 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 7b100affd2..809d3f9250 100755 --- a/configure +++ b/configure @@ -4348,13 +4348,16 @@ if test "$_vdpau" = auto ; then if test "$_dl" = yes ; then cat > $TMPC < -int main(void) {return VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1;} +int main(void) { + (void) vdp_device_create_x11(0, 0, 0, 0); + return VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1; } EOF - cc_check && _vdpau=yes + cc_check -lvdpau && _vdpau=yes fi fi if test "$_vdpau" = yes ; then def_vdpau='#define CONFIG_VDPAU 1' + libs_mplayer="$libs_mplayer -lvdpau" _vomodules="vdpau $_vomodules" else def_vdpau='#define CONFIG_VDPAU 0' -- cgit v1.2.3