summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-07-21 07:21:01 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-22 13:13:24 +0200
commitfa393e30614b085f2b0197fa6f3914f0cf3d3a1c (patch)
treecb6335645b64af8f1604dfb1f8b4ba5728eaecca /tests
parente83a01def3ad7ca8a7344f4774acdbe8adbec37d (diff)
fate: add test for extrastereo filter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-audio.mak5
-rw-r--r--tests/ref/fate/filter-extrastereo25
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index bdf6720920..43d8ff19d6 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -109,6 +109,11 @@ fate-filter-earwax: tests/data/asynth-44100-2.wav
fate-filter-earwax: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
fate-filter-earwax: CMD = framecrc -i $(SRC) -aframes 20 -af earwax
+FATE_AFILTER-$(call FILTERDEMDECENCMUX, EXTRASTEREO, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-extrastereo
+fate-filter-extrastereo: tests/data/asynth-44100-2.wav
+fate-filter-extrastereo: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-extrastereo: CMD = framecrc -i $(SRC) -aframes 20 -af extrastereo=m=2
+
tests/data/hls-list.m3u8: TAG = GEN
tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
diff --git a/tests/ref/fate/filter-extrastereo b/tests/ref/fate/filter-extrastereo
new file mode 100644
index 0000000000..e43de2d784
--- /dev/null
+++ b/tests/ref/fate/filter-extrastereo
@@ -0,0 +1,25 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+0, 0, 0, 1024, 4096, 0x29e3eecf
+0, 1024, 1024, 1024, 4096, 0x18390b96
+0, 2048, 2048, 1024, 4096, 0xc477fa99
+0, 3072, 3072, 1024, 4096, 0x3bc0f14f
+0, 4096, 4096, 1024, 4096, 0x2379ed91
+0, 5120, 5120, 1024, 4096, 0xfd6a0070
+0, 6144, 6144, 1024, 4096, 0x0b01f4cf
+0, 7168, 7168, 1024, 4096, 0x6716fd93
+0, 8192, 8192, 1024, 4096, 0x1840f25b
+0, 9216, 9216, 1024, 4096, 0x9c1ffaf1
+0, 10240, 10240, 1024, 4096, 0xcbedefaf
+0, 11264, 11264, 1024, 4096, 0x3e050390
+0, 12288, 12288, 1024, 4096, 0xb30e0090
+0, 13312, 13312, 1024, 4096, 0x26b8f75b
+0, 14336, 14336, 1024, 4096, 0xd706e311
+0, 15360, 15360, 1024, 4096, 0x0c480138
+0, 16384, 16384, 1024, 4096, 0x6c9a0216
+0, 17408, 17408, 1024, 4096, 0x7abce54f
+0, 18432, 18432, 1024, 4096, 0xda45f63f
+0, 19456, 19456, 1024, 4096, 0x50d5ff87