]> git.sesse.net Git - ffmpeg/commitdiff
FATE: add a test for the channelmap filter
authorAnton Khirnov <anton@khirnov.net>
Wed, 13 Mar 2013 10:03:08 +0000 (11:03 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 28 Mar 2013 07:02:55 +0000 (08:02 +0100)
tests/fate/filter.mak
tests/filtergraphs/channelmap [new file with mode: 0644]

index 120dc61d8238dcfaaec72705d98cf9f713cb8921..89a114035024c7752944d07005a425cf802bedb2 100644 (file)
@@ -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 (file)
index 0000000..7f9f24d
--- /dev/null
@@ -0,0 +1 @@
+channelmap=map=1\,2\,0\,5\,3\,4:channel_layout=5.1