History

fate: add fate-adts-id3v1-demux

This test the demuxer discarding non ADTS frames at the beginning and end of the input. As a side effect, this commit also enables fate-adts-demux, which was accidentally disabled in 324f0fbff1245f9e9e1dda29ecb03138a2de287d.

James Almer committed 9 years ago

Commit c1503cd1 parent 4705edb2 files · +13 −1Browse files

Unified · Split

2 files
  1. tests/fate/demux.mak +2 −1
  2. tests/ref/fate/adts-id3v1-demux +11 −0
tests/fate/demux.mak+2−1
@@ -1,8 +1,9 @@
11 FATE_SAMPLES_DEMUX-$(call DEMDEC, AVI, FRAPS) += fate-avio-direct
22 fate-avio-direct: CMD = framecrc -avioflags direct -i $(TARGET_SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi -avioflags direct
33
4−FATE_SAMPLES_DEMUX-$(DEMDEC, AAC, AAC) += fate-adts-demux
4+FATE_SAMPLES_DEMUX-$(call DEMDEC, AAC, AAC) += fate-adts-demux fate-adts-id3v1-demux
55 fate-adts-demux: CMD = crc -i $(TARGET_SAMPLES)/aac/ct_faac-adts.aac -acodec copy
6+fate-adts-id3v1-demux: CMD = framecrc -f aac -i $(TARGET_SAMPLES)/aac/id3v1.aac -acodec copy
67
78 FATE_SAMPLES_DEMUX-$(CONFIG_AEA_DEMUXER) += fate-aea-demux
89 fate-aea-demux: CMD = crc -i $(TARGET_SAMPLES)/aea/chirp.aea -acodec copy
tests/ref/fate/adts-id3v1-demux+11−0
@@ -0,0 +1,11 @@
1+#tb 0: 1/28224000
2+#media_type 0: audio
3+#codec_id 0: aac
4+#sample_rate 0: 48000
5+#channel_layout 0: 3
6+#channel_layout_name 0: stereo
7+0, 0, 0, 602112, 474, 0x4c90e7c4
8+0, 602112, 602112, 602112, 471, 0xb8b5e75d
9+0, 1204224, 1204224, 602112, 502, 0xe943efd1
10+0, 1806336, 1806336, 602112, 495, 0x9c3cec74
11+0, 2408448, 2408448, 602112, 493, 0x03b2fa4b

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t