From 33942b7bdedaf0c7017f84245f4928860319a584 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Mar 2013 11:03:08 +0100 Subject: [PATCH] FATE: add a test for the channelmap filter --- tests/fate/filter.mak | 7 +++++++ tests/filtergraphs/channelmap | 1 + 2 files changed, 8 insertions(+) create mode 100644 tests/filtergraphs/channelmap 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