diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-29 07:38:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-07 21:54:30 +0200 |
commit | 0a0204c48ad11f92e7a7c306d3b7f24bb280e6d0 (patch) | |
tree | 50c596a1036e80c98c7922cd9269dbf125fe590d /tests | |
parent | cc721fc29240fadd0aec5b86cf15b5ffb49f303e (diff) | |
download | ffmpeg-0a0204c48ad11f92e7a7c306d3b7f24bb280e6d0.tar.gz |
tests/fate-run: Allow multiple inputs for transcode()
This allows nicer tests by having a greater range of inputs available
(without requiring adding further samples to the fate-suite).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/fate-run.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index a16ce28a45..87b5539296 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -232,12 +232,13 @@ transcode(){ enc_opt=$4 final_decode=$5 ffprobe_opts=$7 + additional_inputs=$8 encfile="${outdir}/${test}.${enc_fmt}" test "$6" = -keep || cleanfiles="$cleanfiles $encfile" tsrcfile=$(target_path $srcfile) tencfile=$(target_path $encfile) - ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $ENC_OPTS $enc_opt $FLAGS \ - -f $enc_fmt -y $tencfile || return + ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_inputs \ + $ENC_OPTS $enc_opt $FLAGS -f $enc_fmt -y $tencfile || return do_md5sum $encfile echo $(wc -c $encfile) ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \ |