Certain VIDIX drivers only work on x86, disable for other arches.

This patch was coproduced by Reimar, Andrea Menucci and myself.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24822 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego
2007-10-20 22:19:38 +00:00
parent 5eb46caada
commit 5bb44cb440
Vendored
+2 -2
View File
@@ -4236,8 +4236,8 @@ if test "$_vidix" = yes ; then
test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome"
test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//`
# some vidix drivers are not meant to work on powerpc, discard them
ppc && _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome//`
# some vidix drivers are meant to work on x86 only, discard them elsewhere
x86 || _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome//`
for driver in $_vidix_drivers ; do
uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'`