diff options
author | James Almer <jamrial@gmail.com> | 2019-03-14 14:47:57 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-03-14 14:59:45 -0300 |
commit | ac4b5d86222006fa71ffe5922e1a34f1422507d8 (patch) | |
tree | cd09cadf2ee0eb1d5810cc4337fdb4d15ccb3ec4 /tests/fate-run.sh | |
parent | a200bf8094bfaa0a0e4cf2fa270a18167a833d75 (diff) | |
parent | f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b (diff) | |
download | ffmpeg-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-x | tests/fate-run.sh | 14 |
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(){ |