aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-13 11:03:08 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-28 08:02:55 +0100
commit33942b7bdedaf0c7017f84245f4928860319a584 (patch)
treee89a7e79e8a4e31c93a90756eead939360fe4e3e /tests
parentf917420378634708976f1638b282a34325d82cc6 (diff)
downloadffmpeg-33942b7bdedaf0c7017f84245f4928860319a584.tar.gz
FATE: add a test for the channelmap filter
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter.mak7
-rw-r--r--tests/filtergraphs/channelmap1
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index 120dc61d82..89a1140350 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -33,6 +33,13 @@ fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
+FATE_FILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-channelmap
+fate-filter-channelmap: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
+fate-filter-channelmap: tests/data/asynth-44100-6.wav
+fate-filter-channelmap: CMD = md5 -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/channelmap -f wav -flags +bitexact
+fate-filter-channelmap: CMP = oneline
+fate-filter-channelmap: REF = 21f1977c4f9705e2057083f84764e685
+
fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
diff --git a/tests/filtergraphs/channelmap b/tests/filtergraphs/channelmap
new file mode 100644
index 0000000000..7f9f24d178
--- /dev/null
+++ b/tests/filtergraphs/channelmap
@@ -0,0 +1 @@
+channelmap=map=1\,2\,0\,5\,3\,4:channel_layout=5.1