view tests/faterun.sh @ 34338:4a507d3a039a

Add highly experimental support for OpenGL ES. It only supports EGL/X11, uses/supports only ES v1, will crash if certain features are used, compiling without desktop GL installed is not tested and possibly more caveats. However it is close enough to be able to display a video on a BeagleBoard via OpenGL. Performance could not be tested properly since I do not have a display that is compatible with the BeagleBoard output...
author reimar
date Sat, 10 Dec 2011 20:55:31 +0000
parents f6cce8c4ea66
children 6faf474f9ce3
line wrap: on
line source

#!/bin/sh
i=$1
echo "running $i"
mkdir -p res/$(dirname $i)
touch res/$i.md5
../mplayer -noconfig all -lavdopts threads=4:bitexact -really-quiet -noconsolecontrols -nosound -benchmark -vo md5sum:outfile=res/$i.md5 $FATE_SAMPLES/$i
ref_file=ref/$i.md5
if ! [ -e $ref_file ] ; then
  touch ref/empty.md5
  ref_file=ref/empty.md5
fi
if ! diff -uw $ref_file res/$i.md5 ; then
  mv res/$i.md5 res/$i.md5.bad
  exit 1
fi