[FFmpeg-devel] [PATCH] fate: add test for iTunes gapless MP3

Christopher Snowhill kode54 at gmail.com
Mon Oct 2 06:13:12 EEST 2017


---
 tests/fate/gapless.mak            | 3 ++-
 tests/ref/fate/gapless-mp3-itunes | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 tests/ref/fate/gapless-mp3-itunes

diff --git a/tests/fate/gapless.mak b/tests/fate/gapless.mak
index 0253b9ec61..46b3b98c13 100644
--- a/tests/fate/gapless.mak
+++ b/tests/fate/gapless.mak
@@ -1,5 +1,6 @@
-FATE_GAPLESS-$(CONFIG_MP3_DEMUXER) += fate-gapless-mp3
+FATE_GAPLESS-$(CONFIG_MP3_DEMUXER) += fate-gapless-mp3 fate-gapless-mp3-itunes
 fate-gapless-mp3: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless.mp3
+fate-gapless-mp3-itunes: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless-itunes.mp3
 
 FATE_GAPLESS-$(CONFIG_MP3_DEMUXER) += fate-audiomatch-square-mp3
 fate-audiomatch-square-mp3: CMD = audio_match $(TARGET_SAMPLES)/audiomatch/square3.mp3 $(TARGET_SAMPLES)/audiomatch/square3.wav
diff --git a/tests/ref/fate/gapless-mp3-itunes b/tests/ref/fate/gapless-mp3-itunes
new file mode 100644
index 0000000000..0337ca3e38
--- /dev/null
+++ b/tests/ref/fate/gapless-mp3-itunes
@@ -0,0 +1,5 @@
+45c78bcbfc9efddb3389ab518095728d *tests/data/fate/gapless-mp3-itunes.out-1
+596b51d8634e184d3a67b1cd072f7d73
+45c78bcbfc9efddb3389ab518095728d *tests/data/fate/gapless-mp3-itunes.out-2
+596b51d8634e184d3a67b1cd072f7d73
+c8cd71407ac5bbfadf5ccf7b5a64430c *tests/data/fate/gapless-mp3-itunes.out-3
-- 
2.13.5 (Apple Git-94)



More information about the ffmpeg-devel mailing list