summaryrefslogtreecommitdiffstats
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2019-02-02 13:58:08 +0100
committerDiego Biurrun <diego@biurrun.de>2019-02-16 18:15:46 +0100
commit618d02c1fa9e74d490cace64a7d15762656b521c (patch)
treeabdc6d928a80d050aa933986a94fa07dd5ca5285 /tests/fate-run.sh
parent896fe15dbb7b78de495c4a7dd75e7faec66778da (diff)
downloadffmpeg-streaming-618d02c1fa9e74d490cace64a7d15762656b521c.zip
ffmpeg-streaming-618d02c1fa9e74d490cace64a7d15762656b521c.tar.gz
tests: Convert lavf container tests to non-legacy test scripts
Rename some tests in the process for consistency and simplicity.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 89eef12..c8ac6a1 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -197,6 +197,15 @@ lavf_audio(){
do_avconv_crc $file $DEC_OPTS $3 -i $target_path/$file
}
+lavf_container(){
+ t="${test#lavf-}"
+ outdir="tests/data/lavf"
+ file=${outdir}/lavf.$t
+ do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le $1 -i $pcm_src $ENC_OPTS -b:a 64k -t 1 -qscale:v 10 $2
+ test $3 = "disable_crc" ||
+ do_avconv_crc $file $DEC_OPTS -i $target_path/$file $3
+}
+
lavf_image(){
t="${test#lavf-}"
outdir="tests/data/images/$t"
OpenPOWER on IntegriCloud