1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/tests/ref
Andreas Rheinhardt 03d31ef39c avformat/matroskaenc: Remove special code for writing subtitles
Once upon a time, mkv_write_block() only wrote a (Simple)Block,
not a BlockGroup which is needed for subtitles to convey
the duration. But with the introduction of support for writing
BlockAdditions and DiscardPadding (both of which require a BlockGroup),
mkv_write_block() can also open and close a BlockGroup of its own. This
naturally led to some code duplication which is removed in this commit.

This new code leads to one regression: It always uses eight bytes for
the BlockGroup's length field, whereas the earlier code usually used the
lowest amount of bytes needed. This will be fixed in a future commit.

This temporary regression is also the reason for changes to the
binsub-mksenc and matroska-zero-length-block fate tests.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-01-19 12:08:05 +01:00
..
acodec
fate avformat/matroskaenc: Remove special code for writing subtitles 2022-01-19 12:08:05 +01:00
lavf avformat/matroskaenc: Don't waste bytes on Video element length fields 2022-01-19 11:50:27 +01:00
lavf-fate avformat/matroskaenc: Don't waste bytes on Video element length fields 2022-01-19 11:50:27 +01:00
pixfmt
seek avformat/matroskaenc: Don't waste bytes on Video element length fields 2022-01-19 11:50:27 +01:00
vsynth
vsynth1
vsynth_lena