aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-05-02 09:39:18 +0200
committerAnton Khirnov <anton@khirnov.net>2013-05-03 08:07:45 +0200
commitb333f3a22a4db4cf65d6a0457ac82ecbe7c7ac44 (patch)
tree1bcad0e895f0e4f9c200976bf022f76afc60e86b
parent803d21f38bdafe7c4e2571a9ae7052013a12923b (diff)
downloadffmpeg-b333f3a22a4db4cf65d6a0457ac82ecbe7c7ac44.tar.gz
lavf-regression: use -frames instead of -t for image tests
-t 0.5 is 12.5 frames at 25 fps, which may round to either 12 or 13 on different platforms.
-rwxr-xr-xtests/lavf-regression.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index a1983063d3..d9c8a8f0e0 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -30,7 +30,7 @@ do_image_formats()
outfile="$datadir/images/$1/"
mkdir -p "$outfile"
file=${outfile}%02d.$1
- run_avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $2 $ENC_OPTS $3 -t 0.5 -y -qscale 10 $target_path/$file
+ run_avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $2 $ENC_OPTS $3 -frames 12 -y -qscale 10 $target_path/$file
do_md5sum ${outfile}02.$1
do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file
echo $(wc -c ${outfile}02.$1)