aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-03-04 07:31:47 +0100
committerAnton Khirnov <anton@khirnov.net>2014-03-16 07:44:03 +0100
commita84c8af042f3b42f23cdcc51c34155647270d689 (patch)
treee9a32d8be80de1278bd65f713b8ed6d0b2c547de /tests
parente843612695007cc623813073754c651ab43021f7 (diff)
downloadffmpeg-a84c8af042f3b42f23cdcc51c34155647270d689.tar.gz
FATE: add a test for the ONE_STR mapping mode of the channelmap filter
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak24
-rw-r--r--tests/filtergraphs/channelmap_one_int (renamed from tests/filtergraphs/channelmap)0
-rw-r--r--tests/filtergraphs/channelmap_one_str1
3 files changed, 18 insertions, 7 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 9bf148ceb6..fc7ca4fbce 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -41,13 +41,23 @@ $(FATE_ATRIM): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
FATE_FILTER-$(call FILTERDEMDECENCMUX, ATRIM, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_ATRIM)
-FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-channelmap
-fate-filter-channelmap: tests/data/filtergraphs/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 $(TARGET_PATH)/tests/data/filtergraphs/channelmap -f wav -flags +bitexact
-fate-filter-channelmap: CMP = oneline
-fate-filter-channelmap: REF = 21f1977c4f9705e2057083f84764e685
+FATE_FILTER_CHANNELMAP += fate-filter-channelmap-one-int
+fate-filter-channelmap-one-int: tests/data/filtergraphs/channelmap_one_int
+fate-filter-channelmap-one-int: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
+fate-filter-channelmap-one-int: tests/data/asynth-44100-6.wav
+fate-filter-channelmap-one-int: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_int -f wav -flags +bitexact
+fate-filter-channelmap-one-int: CMP = oneline
+fate-filter-channelmap-one-int: REF = 21f1977c4f9705e2057083f84764e685
+
+FATE_FILTER_CHANNELMAP += fate-filter-channelmap-one-str
+fate-filter-channelmap-one-str: tests/data/filtergraphs/channelmap_one_str
+fate-filter-channelmap-one-str: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-channelmap-one-str: tests/data/asynth-44100-2.wav
+fate-filter-channelmap-one-str: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_str -f wav -flags +bitexact
+fate-filter-channelmap-one-str: CMP = oneline
+fate-filter-channelmap-one-str: REF = 9fe9bc452282dfd94fd80e9491607a0c
+
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_FILTER_CHANNELMAP)
FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELSPLIT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-channelsplit
fate-filter-channelsplit: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
diff --git a/tests/filtergraphs/channelmap b/tests/filtergraphs/channelmap_one_int
index e2b61435df..e2b61435df 100644
--- a/tests/filtergraphs/channelmap
+++ b/tests/filtergraphs/channelmap_one_int
diff --git a/tests/filtergraphs/channelmap_one_str b/tests/filtergraphs/channelmap_one_str
new file mode 100644
index 0000000000..3c658fc586
--- /dev/null
+++ b/tests/filtergraphs/channelmap_one_str
@@ -0,0 +1 @@
+channelmap=map=FR|FL:channel_layout=stereo