aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-06 22:55:39 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-10 08:36:47 +0200
commit11623f36a89c5a77a4188c1658965ff783fc8ce4 (patch)
treebaab0e784aa80b729173a881f04387184dbcb3a7 /tests/fate
parentfd8a395cd75f82f31cef408e6da9ece3acfec95c (diff)
downloadffmpeg-11623f36a89c5a77a4188c1658965ff783fc8ce4.tar.gz
fate/matroska: Add ALAC remux test
Provides coverage for the code transforming the ALAC extradata. Also set creation_time metadata to test this, too. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/matroska.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index 7c4eed358f..1d68be81c8 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -31,6 +31,12 @@ fate-matroska-zlib-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/subtit
FATE_MATROSKA-$(CONFIG_MATROSKA_DEMUXER) += fate-matroska-lzo-decompression
fate-matroska-lzo-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/lzo.mka -c copy
+# This tests that the ALAC extradata is correctly transformed upon remuxing.
+# It also tests setting the AV_DISPOSITION_COMMENT disposition as well as
+# writing creation_time metadata.
+FATE_MATROSKA_FFMPEG_FFPROBE-$(call REMUX, MATROSKA) += fate-matroska-alac-remux
+fate-matroska-alac-remux: CMD = transcode mov $(TARGET_SAMPLES)/lossless-audio/inside.m4a matroska "-map 0:a -c copy -metadata creation_time=2009-01-25T16:08:26.000000Z -disposition +comment" "-c copy" "-show_entries format_tags:stream_disposition"
+
# This tests that the matroska demuxer correctly propagates
# the channel layout contained in vorbis comments in the CodecPrivate
# of flac tracks. It also tests header removal compression.