[FFmpeg-devel] [PATCH 12/12] fate/aac: add automatic bsf test

Rodger Combs rodger.combs at gmail.com
Wed Apr 27 12:48:05 CEST 2016


---
 tests/fate/aac.mak                   | 4 ++++
 tests/ref/fate/aac-autobsf-adtstoasc | 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 tests/ref/fate/aac-autobsf-adtstoasc

diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 3d64031..f006ae0 100644
--- a/tests/fate/aac.mak
+++ b/tests/fate/aac.mak
@@ -241,10 +241,14 @@ FATE_AAC_LATM += fate-aac-latm_stereo_to_51
 fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
 fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
 
+fate-aac-autobsf-adtstoasc: CMD = md5 -i $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.adts -acodec copy -fflags +bitexact -f matroska
+fate-aac-autobsf-adtstoasc: CMP = oneline
+
 FATE_AAC-$(call      DEMDEC, AAC,    AAC)      += $(FATE_AAC_CT_RAW)
 FATE_AAC-$(call      DEMDEC, MOV,    AAC)      += $(FATE_AAC)
 FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
 FATE_AAC-$(call      DEMDEC, AAC,    AAC_FIXED)+= $(FATE_AAC_FIXED)
+FATE_AAC-$(call ALLYES, AAC_DEMUXER AAC_ADTSTOASC_BSF MATROSKA_MUXER) += fate-aac-autobsf-adtstoasc
 
 FATE_AAC_ALL = $(FATE_AAC-yes) $(FATE_AAC_LATM-yes) $(FATE_AAC_FIXED-yes)
 
diff --git a/tests/ref/fate/aac-autobsf-adtstoasc b/tests/ref/fate/aac-autobsf-adtstoasc
new file mode 100644
index 0000000..41e8e7a
--- /dev/null
+++ b/tests/ref/fate/aac-autobsf-adtstoasc
@@ -0,0 +1 @@
+b25ed78285f5c9004e2b027b347d33b7
-- 
2.8.1



More information about the ffmpeg-devel mailing list