mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 01:21:06 +00:00
tests/fate/spdif: add TrueHD branch padding test
Add a small synthetic TrueHD sample that exercises large MAT padding in spdifenc. The sample covers both the input_timing path with padding above MAT_FRAME_SIZE / 2 and the output_timing discontinuity path. It also verifies queued MAT frame emission when one input packet completes more than one MAT frame. Signed-off-by: Nathan Lucas <nlucasgit@gmail.com>
This commit is contained in:
@@ -40,6 +40,9 @@ fate-spdif-mp3-remux: CMD = transcode mp3 $(TARGET_SAMPLES)/audiomatch/square3.m
|
||||
FATE_SPDIF-$(call DEMMUX, TRUEHD, SPDIF) += fate-spdif-truehd
|
||||
fate-spdif-truehd: CMD = md5 -i $(TARGET_SAMPLES)/truehd/atmos.thd -c copy -f spdif
|
||||
|
||||
FATE_SPDIF-$(call DEMMUX, TRUEHD, SPDIF) += fate-spdif-truehd-branch-padding
|
||||
fate-spdif-truehd-branch-padding: CMD = md5 -i $(TARGET_SAMPLES)/truehd/spdifenc-branch-padding.thd -c copy -f spdif
|
||||
|
||||
# Make the demuxer support all the formats supported by the muxer
|
||||
# and switch the md5 tests to remux tests?
|
||||
FATE_SPDIF-$(call REMUX, SPDIF) += $(FATE_SPDIF_REMUX-yes)
|
||||
|
||||
1
tests/ref/fate/spdif-truehd-branch-padding
Normal file
1
tests/ref/fate/spdif-truehd-branch-padding
Normal file
@@ -0,0 +1 @@
|
||||
08e36c5ef0cc54e48eb2cc7a898e72c4
|
||||
Reference in New Issue
Block a user