aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regression.sh
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-02-01 21:16:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-02-01 21:16:33 +0000
commit976709ee7330826e27868ad7c672f405b969eff9 (patch)
treebdf7c629629af0e1c1f45bec1750755e2c0fff60 /tests/regression.sh
parentba96e97fdd2ba52d3e699b83ac5e831fed8b4fd5 (diff)
downloadffmpeg-976709ee7330826e27868ad7c672f405b969eff9.tar.gz
compare audio files 16bit wise instead of 8bit
additionally compare the mp2 case with some delay as this matches better (the delay issue obviously should be fixed) Originally committed as revision 3922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/regression.sh')
-rwxr-xr-xtests/regression.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regression.sh b/tests/regression.sh
index fb100dddcf..e6e2e02661 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -110,7 +110,7 @@ do_ffmpeg()
if [ $f = $raw_dst ] ; then
$tiny_psnr $f $raw_ref >> $logfile
elif [ $f = $pcm_dst ] ; then
- $tiny_psnr $f $pcm_ref >> $logfile
+ $tiny_psnr $f $pcm_ref 2 >> $logfile
else
wc -c $f >> $logfile
fi
@@ -458,6 +458,7 @@ do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src $file
# mp2 decoding
do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
+$tiny_psnr $pcm_dst $pcm_ref 2 1924 >> $logfile
fi
###################################