summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-28 17:30:46 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-28 17:44:22 +0100
commit0adc93ba2b4c86bb0b5e0587df1f9c543f5232b6 (patch)
tree65768063aa45bde2ab4462114ea63405e8f79dc7 /tests
parentb1213c911c53f30d5b3d8b58a356eeec06753f5d (diff)
fate/filter: move concat filtergraph to a dedicated script.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter.mak2
-rw-r--r--tests/filtergraphs/concat8
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index 1274101c35..f1777e2096 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -116,7 +116,7 @@ FATE_FILTER-$(call ALLYES, VMD_DEMUXER VMDVIDEO_DECODER FORMAT_FILTER PERMS_FILT
fate-filter-gradfun-sample: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -vf "sws_flags=+accurate_rnd+bitexact;format=gray,perms=random,gradfun=10:8" -an -frames:v 20
FATE_FILTER-$(call ALLYES, TESTSRC_FILTER SINE_FILTER CONCAT_FILTER) += fate-filter-concat
-fate-filter-concat: CMD = framecrc -lavfi "testsrc=r=5:n=1:d=2[v1];sine=440:b=2:d=1[a1];testsrc=r=5:n=1:d=1[v2];sine=622:b=2:d=2[a2];testsrc=r=5:n=1:d=1[v3];sine=880:b=2:d=1[a3];[v1][a1][v2][a2][v3][a3]concat=v=1:a=1:n=3"
+fate-filter-concat: CMD = framecrc -filter_complex_script $(SRC_PATH)/tests/filtergraphs/concat
$(FATE_FILTER_VSYNTH-yes): tests/vsynth1/00.pgm
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
diff --git a/tests/filtergraphs/concat b/tests/filtergraphs/concat
new file mode 100644
index 0000000000..26bca14c3a
--- /dev/null
+++ b/tests/filtergraphs/concat
@@ -0,0 +1,8 @@
+testsrc=r=5:n=1:d=2 [v1];
+sine=440:b=2:d=1 [a1];
+testsrc=r=5:n=1:d=1 [v2];
+sine=622:b=2:d=2 [a2];
+testsrc=r=5:n=1:d=1 [v3];
+sine=880:b=2:d=1 [a3];
+
+[v1][a1][v2][a2][v3][a3] concat=v=1:a=1:n=3