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

Submitted by kode54@gmail.com on Oct. 2, 2017, 3:13 a.m.

Details

Message ID 20171002031312.69453-2-kode54@gmail.com
State New
Headers show

Commit Message

kode54@gmail.com Oct. 2, 2017, 3:13 a.m.
---
 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

Patch hide | download patch | download mbox

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