This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
ffmpeg
mirror of
https://git.ffmpeg.org/ffmpeg.git
Watch
1
Star
0
Fork
You've already forked ffmpeg
0
Code
Issues
Projects
Releases
Wiki
Activity
abbc111067
ffmpeg
/
tests
/
ref
/
fate
/
binsub-mksenc
2 lines
33 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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>
2019-12-29 02:56:34 +00:00
9dd2ff92a3da9fb50405db3d05e41042