[FFmpeg-cvslog] FATE: add a test for the ONE_STR mapping mode of the channelmap filter
Anton Khirnov
git at videolan.org
Sun Mar 16 14:37:27 CET 2014
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar 4 07:31:47 2014 +0100| [a84c8af042f3b42f23cdcc51c34155647270d689] | committer: Anton Khirnov
FATE: add a test for the ONE_STR mapping mode of the channelmap filter
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a84c8af042f3b42f23cdcc51c34155647270d689
---
tests/fate/filter-audio.mak | 24 ++++++++++++++------
.../{channelmap => channelmap_one_int} | 0
tests/filtergraphs/channelmap_one_str | 1 +
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 9bf148c..fc7ca4f 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
similarity index 100%
rename from tests/filtergraphs/channelmap
rename to tests/filtergraphs/channelmap_one_int
diff --git a/tests/filtergraphs/channelmap_one_str b/tests/filtergraphs/channelmap_one_str
new file mode 100644
index 0000000..3c658fc
--- /dev/null
+++ b/tests/filtergraphs/channelmap_one_str
@@ -0,0 +1 @@
+channelmap=map=FR|FL:channel_layout=stereo
More information about the ffmpeg-cvslog
mailing list