Skip to content

Commit dc9e0ca

Browse files
committed
fate/libswresample: add a test downmixing with a custom order layout
Signed-off-by: James Almer <[email protected]>
1 parent e504247 commit dc9e0ca

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/fate/libswresample.mak

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,5 +1097,13 @@ fate-swr-audioconvert: CMP = stddev
10971097
fate-swr-audioconvert: FUZZ = 0
10981098

10991099
FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
1100+
1101+
FATE_SWR_CUSTOM_REMATRIX-$(call FILTERDEMDECENCMUX, ARESAMPLE CHANNELMAP AFORMAT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-swr-custom-rematrix
1102+
fate-swr-custom-rematrix: tests/data/asynth-44100-8.wav tests/data/filtergraphs/custom_rematrix
1103+
fate-swr-custom-rematrix: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-44100-8.wav -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/custom_rematrix -map [OUT] -f s16le
1104+
fate-swr-custom-rematrix: CMP = oneline
1105+
fate-swr-custom-rematrix: REF = 2a14a44deb4ae26e3b474ddbfbc048f8
1106+
1107+
FATE_SWR += $(FATE_SWR_CUSTOM_REMATRIX-yes)
11001108
FATE_FFMPEG += $(FATE_SWR)
11011109
fate-swr: $(FATE_SWR)

tests/filtergraphs/custom_rematrix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[0:a]aresample,channelmap=0|1|2|3|6|7|4|5:8 channels (FL+FR+FC+LFE+SL+SR+BL+BR),aresample,aformat=cl=stereo[OUT];

0 commit comments

Comments
 (0)