From 72f89c4ca7077d71e4270a716b669b50d3573a74 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 22 Sep 2004 21:25:59 +0000 Subject: [PATCH] jpeg regression test Originally committed as revision 3496 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/libav.regression.ref | 1 + tests/regression.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/libav.regression.ref b/tests/libav.regression.ref index 9f64c15c69..aa1850fa31 100644 --- a/tests/libav.regression.ref +++ b/tests/libav.regression.ref @@ -43,6 +43,7 @@ c39dd19b88f9e0f03a318b51c37edb61 *./data/b-libav.yuv4mpeg 3801810 ./data/b-libav.yuv4mpeg ./data/b-libav%d.pgm CRC=84c09106 ./data/b-libav%d.ppm CRC=25c06ecf +./data/b-libav%d.jpg CRC=ed64ec39 b0a8c8063d81921db5d7c8f50a1cc454 *./data/b-libav.wav 89132 ./data/b-libav.wav ./data/b-libav.wav CRC=2a09519c diff --git a/tests/regression.sh b/tests/regression.sh index 58ffbd160d..5c064ad95c 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -567,9 +567,9 @@ $ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file do_ffmpeg_crc $file -i $file # jpeg (we do not do md5 on image files yet) -#file=${outfile}libav%d.jpg -#$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file -#do_ffmpeg_crc $file -i $file +file=${outfile}libav%d.jpg +$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src -f image2 $file +do_ffmpeg_crc $file -f image2 -i $file #################### # audio only