1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/tests/fate
Andreas Rheinhardt 4ebfc13c33 avformat/matroskaenc: Don't ignore tags of chapters written late
The Matroska muxer writes the Chapters early when chapters were already
available when writing the header; in this case any tags pertaining to
these chapters get written, too.

Yet if no chapters had been supplied before writing the header, Chapters
can also be written when writing the trailer if any are supplied. Tags
belonging to these chapters were up until now completely ignored.

This commit changes this: Writing the tags belonging to chapters has
been moved to mkv_write_chapters(). If mkv_write_tags() has not been
called yet (i.e. when chapters are written when writing the header),
the AVIOContext for writing the ordinary Tags element is used, but not
output, as this is left to mkv_write_tags() in order to only write one
Tags element. Yet if mkv_write_tags() has already been called,
mkv_write_chapters() will output a Tags element of its own which only
contains the tags for chapters.

When chapters are available initially, the corresponding tags will now
be the first tags in the Tags element; but the ordering of tags in Tags
is irrelevant anyway.

This commit also makes chapter_id_offset local to mkv_write_chapters()
as it is used only there and not reused at all.

Potentially writing a second Tags element means that the maximum number
of SeekHead entries had to be incremented. All the changes to FATE
result from the ensuing increase in the amount of space reserved for the
SeekHead (21 bytes more).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-05-19 03:34:44 +02:00
..
aac.mak fate: remove the fate-aac-ltp-encode test 2018-01-13 12:03:49 +00:00
ac3.mak fate: add test for eac3 dependant stream 2018-03-30 14:05:10 -03:00
acodec.mak avcodec/dcaenc: Use ffmpeg mdct instead of own implementation 2018-01-13 18:13:58 +00:00
adpcm.mak fate/adpcm: add adpcm_ima_alp tests 2020-03-10 20:22:32 +01:00
alac.mak
als.mak fate/als: Add test for conformance file with 512 channels. 2019-08-24 09:33:44 +02:00
amrnb.mak
amrwb.mak
api.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
apng.mak
atrac.mak
audio.mak fate: add dst decoder test 2019-06-10 09:44:11 +10:00
bmp.mak
build.mak
canopus.mak
cbs.mak fate/cbs: use the rawvideo muxer for AV1 tests 2019-12-13 10:58:10 -03:00
cdxl.mak
checkasm.mak checkasm: add hscale test 2020-05-15 10:29:30 +01:00
concatdec.mak
cover-art.mak
dca.mak fate: add a dca_core bitstream filter test 2018-03-17 12:34:46 -03:00
demux.mak fate/demux: add an AV1 Annex B test 2019-11-29 18:58:42 -03:00
dfa.mak
dnn.mak dnn-layer-mathbinary-test: add unit test for subtraction 2020-04-07 11:04:40 +08:00
dnxhd.mak
dpcm.mak
ea.mak
exif.mak
ffmpeg.mak fate/ffmpeg: add test for time limited sub2video instance 2020-03-16 19:35:17 +02:00
ffprobe.mak ffprobe: Fix fate tests for ffprobe in cases where TARGET_PATH differs from the current path 2019-12-18 15:15:12 +02:00
fft.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
fifo-muxer.mak
filter-audio.mak fate: Use a oneoff test for the tremolo filter 2019-12-11 22:20:00 +02:00
filter-video.mak FATE: add fate test for minterpolate filter 2020-05-14 23:03:07 +08:00
fits.mak fate: Fix fitsdec-gbrap16 test on big-endian hardware. 2017-11-04 00:47:37 +01:00
flac.mak
flvenc.mak
gapless.mak fate: Fix use of target_path/target_samples 2019-12-12 11:28:21 +02:00
gif.mak fate: add accurate_rnd+bitexact sws_flags for fate-gifenc 2019-08-17 17:33:16 +02:00
h264.mak fate: add h264 timecode test 2018-10-23 15:46:30 +01:00
hap.mak fate: fix hapqa-extract-nosnappy tests on small builds 2018-09-06 19:24:14 -03:00
hevc.mak fate: hevc: Skip a few large testcases if large tests are disabled 2020-04-26 22:30:43 +03:00
hlsenc.mak tests/fate/hlsenc: rename fate macro define from FATE_AFILTER to FATE_HLSENC 2020-05-06 11:25:57 +08:00
hw.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
id3v2.mak fate: add id3v2 test 2018-02-02 12:16:56 -03:00
image.mak fate/exr : add test for long name flag 2018-02-24 21:42:46 +01:00
indeo.mak
lavf-audio.mak Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
lavf-container.mak fate/lavf-container: add an AV1 in Matroska muxing test 2020-01-26 12:41:32 -03:00
lavf-image2pipe.mak tests: Convert image2pipe tests to non-legacy test scripts 2019-02-16 18:15:11 +01:00
lavf-image.mak fate/lavf-image: fix passed arguments for some high bit depth tests 2019-03-14 17:15:28 -03:00
lavf-video.mak tests/fate/lavf-video.mak: fix fate-lavf-gif dependencies 2020-01-30 20:30:36 +01:00
libavcodec.mak test/fate: Add missing exe suffix to h265_levels test. 2020-01-28 00:02:01 +01:00
libavdevice.mak
libavformat.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
libavresample.mak
libavutil.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
libswresample.mak
libswscale.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
lossless-audio.mak fate: move TrueHD tests to their own file 2020-04-20 13:53:42 -03:00
lossless-video.mak
matroska.mak avformat/matroskaenc: Don't ignore tags of chapters written late 2020-05-19 03:34:44 +02:00
microsoft.mak fate: Add test for vc1test demuxer 2018-11-12 19:13:36 +08:00
monkeysaudio.mak
mov.mak fate: Fix use of target_path/target_samples 2019-12-12 11:28:21 +02:00
mp3.mak
mpc.mak
mpeg4.mak
mpegps.mak fate: Fix dependencies to sample files to use local paths 2019-12-12 11:27:55 +02:00
mpegts.mak avformat/mpegts: add merge_pmt_versions option 2018-05-18 19:00:29 -07:00
mxf.mak fate: Fix dependencies to sample files to use local paths 2019-12-12 11:27:55 +02:00
opus.mak avcodec/opus: set skip_samples 2018-11-28 10:26:07 +01:00
pcm.mak
pixfmt.mak Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da' 2019-03-14 14:31:48 -03:00
pixlet.mak
probe.mak
prores.mak avcodec/proresdec : add 12b decoding 2018-12-02 12:55:57 +01:00
qt.mak
qtrle.mak fate/qtrle : change 32b test to output bgra instead of rgb24 2019-03-04 13:03:34 +01:00
real.mak
screen.mak Merge commit '4d4d7cf9d539a053f531f662a972b23d335738eb' 2017-10-27 21:16:18 -03:00
seek.mak fate: Add an option for disabling the 2k/4k tests 2019-12-17 10:22:29 +02:00
segment.mak Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b' 2019-03-14 14:59:45 -03:00
source-check.sh
source.mak
speedhq.mak
subtitles.mak avcodec/mpeg12dec: parse A53 caption data embedded in SCTE-20 user data 2017-11-15 18:14:39 -08:00
truehd.mak fate/truehd: add a test for the truehd_core bitstream filter 2020-04-20 13:53:42 -03:00
utvideo.mak avcodec/utvideoenc: switch to planar RGB formats 2018-01-02 13:41:50 +01:00
vcodec.mak fate: Skip the dnxhd-uhd-hr-sq tests of large tests are disabled 2020-04-26 22:30:37 +03:00
video.mak fate: add a case for ticket #3229 2019-08-13 10:46:20 +08:00
voice.mak
vorbis.mak
vpx.mak avformat/webmdashenc: Don't use custom option for bitexactness 2020-03-25 23:26:29 +01:00
vqf.mak
wavpack.mak avformat/matroskaenc: Don't ignore tags of chapters written late 2020-05-19 03:34:44 +02:00
wma.mak
xvid.mak