summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-05-09 23:44:30 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-05-10 13:49:30 +0200
commit2fb02ecfd115a627f22df21720aa0bd4f6fcee8b (patch)
treeb467acc17de037d06872f4412a7ec1115a09fff0 /tests/fate-run.sh
parent379e5603f4131e677ecf5ba79973dcd5603f28ea (diff)
downloadffmpeg-2fb02ecfd115a627f22df21720aa0bd4f6fcee8b.tar.gz
fate: Reduce the number of frames used to test video filters
Use 5 frames for video filter tests and a single one for the pixelformat tests. Greatly reduces the test duration without reducing coverage.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 402f9dc464..9edfa9aeb6 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -160,7 +160,7 @@ video_filter(){
raw_src="${target_path}/tests/vsynth1/%02d.pgm"
printf '%-20s' $label
avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src \
- $FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo $* -f nut md5:
+ $FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo -frames:v 5 $* -f nut md5:
}
pixfmts(){
@@ -180,7 +180,7 @@ pixfmts(){
outertest=$test
for pix_fmt in $pix_fmts; do
test=$pix_fmt
- video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt
+ video_filter "format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v 1
done
rm $exclude_fmts $out_fmts