mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-27 09:11:17 +00:00
fate: add tests for testsrc.
This test uses the lavfi device and is ready for more similar tests.
This commit is contained in:
parent
574dcb5baf
commit
47bd0bc461
@ -76,6 +76,18 @@ if [ -n "$do_pixdesc" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
do_lavfi_lavd() {
|
||||
label=$1
|
||||
graph=$2
|
||||
shift 2
|
||||
[ $test = $label ] || return 0
|
||||
printf '%-20s' $label
|
||||
run_avconv $DEC_OPTS -f lavfi -i $graph \
|
||||
$ENC_OPTS -vcodec rawvideo $* -f nut md5:
|
||||
}
|
||||
|
||||
do_lavfi_lavd "testsrc" "testsrc=r=7:n=2:d=10"
|
||||
|
||||
# TODO: add tests for
|
||||
# direct rendering,
|
||||
# chains with feedback loops
|
||||
|
1
tests/ref/lavfi/testsrc
Normal file
1
tests/ref/lavfi/testsrc
Normal file
@ -0,0 +1 @@
|
||||
testsrc 293ef5d915068333412acdceb2746a0a
|
Loading…
Reference in New Issue
Block a user