[FFmpeg-cvslog] fate: add a test for scale with variable input format.

Nicolas George git at videolan.org
Sun Oct 28 10:04:01 CET 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Oct 25 21:28:11 2012 +0200| [14f69a0516e4a505eaa65236b919023ecd146d95] | committer: Nicolas George

fate: add a test for scale with variable input format.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14f69a0516e4a505eaa65236b919023ecd146d95
---

 tests/fate/avfilter.mak   |    1 +
 tests/lavfi-regression.sh |    1 +
 tests/ref/lavfi/scalenorm |    1 +
 3 files changed, 3 insertions(+)

diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak
index 3b06d08..b931244 100644
--- a/tests/fate/avfilter.mak
+++ b/tests/fate/avfilter.mak
@@ -27,6 +27,7 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb                                \
              fate-lavfi-pixfmts_vflip                                   \
              fate-lavfi-scale200                                        \
              fate-lavfi-scale500                                        \
+             fate-lavfi-scalenorm                                       \
              fate-lavfi-select                                          \
              fate-lavfi-setdar                                          \
              fate-lavfi-setsar                                          \
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index a25b54b..31628f1 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -132,6 +132,7 @@ do_lavfi_lavd() {
 
 do_lavfi_lavd "life"                 "life=s=40x40:r=5:seed=42:mold=64" -t 2
 do_lavfi_lavd "testsrc"              "testsrc=r=7:n=2:d=10"
+do_lavfi_lavd "scalenorm"            "testsrc=s=128x96:d=1:r=5,format=yuv420p[a];testsrc=s=160x120:d=1:r=5[b];[a][b]concat=unsafe=1,scale=::sws_flags=+accurate_rnd+bitexact"
 
 # TODO: add tests for
 # direct rendering,
diff --git a/tests/ref/lavfi/scalenorm b/tests/ref/lavfi/scalenorm
new file mode 100644
index 0000000..eb5c234
--- /dev/null
+++ b/tests/ref/lavfi/scalenorm
@@ -0,0 +1 @@
+scalenorm           a6222528806dee9c438ce9a5f66220e4



More information about the ffmpeg-cvslog mailing list