producer_avformat.c: bugfix (kdenlive-297) audio distortion with audio formats other...
[melted] / src / modules / xine / configure
index 022c9cd..a1a25a4 100755 (executable)
@@ -1,11 +1,23 @@
-#!/bin/bash
+#!/bin/sh
 
 if [ "$help" != "1" ]
 then
 
-cat << EOF >> ../filters.dat
-deinterlace            libmltxine.so
-EOF
+       bits=$(uname -m)
+       case $bits in
+       ppc|ppc64)
+               disable_xine="1"
+               ;;
+       *)
+               disable_xine="0"
+               ;;
+       esac
 
+       if [ "$disable_xine" != "0" ]
+       then
+               echo "- MMX Capabalities not found: disabling xine deinterlacing module"
+               touch ../disable-xine
+       fi
+       exit 0
 fi