summaryrefslogtreecommitdiffstats
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-03-14 14:47:57 -0300
committerJames Almer <jamrial@gmail.com>2019-03-14 14:59:45 -0300
commitac4b5d86222006fa71ffe5922e1a34f1422507d8 (patch)
treecd09cadf2ee0eb1d5810cc4337fdb4d15ccb3ec4 /tests/fate-run.sh
parenta200bf8094bfaa0a0e4cf2fa270a18167a833d75 (diff)
parentf8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b (diff)
downloadffmpeg-streaming-ac4b5d86222006fa71ffe5922e1a34f1422507d8.zip
ffmpeg-streaming-ac4b5d86222006fa71ffe5922e1a34f1422507d8.tar.gz
Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'
* commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 7e6d2b1..4c77b2d 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -340,16 +340,12 @@ lavf_image2pipe(){
do_avconv_crc $file $DEC_OPTS -f image2pipe -i $target_path/$file
}
-lavffatetest(){
- t="${test#lavf-fate-}"
- ref=${base}/ref/lavf-fate/$t
- ${base}/lavf-regression.sh $t lavf-fate tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" "$target_samples"
-}
-
-lavftest(){
+lavf_video(){
t="${test#lavf-}"
- ref=${base}/ref/lavf/$t
- ${base}/lavf-regression.sh $t lavf tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" "$target_samples"
+ outdir="tests/data/lavf"
+ file=${outdir}/lavf.$t
+ do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src "$ENC_OPTS -metadata title=lavftest" -t 1 -qscale 10 $1 $2
+ do_avconv_crc $file $DEC_OPTS -i $target_path/$file $1
}
refcmp_metadata(){
OpenPOWER on IntegriCloud