ffmpeg/tests/ref
Andreas Rheinhardt cb592ae95f avformat/matroskaenc: Remove duplicated code for writing WebVTT subs
Up until now, the WebM variant of WebVTT subtitles has been handled
specially: It had its own function to write it, because the data
had to be reformatted before writing. But given that other codecs
also need reformatting, this is no good reason to also duplicate the
generic stuff for writing Block(Group)s.

This commit therefore uses an ordinary reformatting function for
this task; writing WebVTT subtitles now uses the generic code
and therefore automatically uses the least amount of bytes
for its BlockGroup length fields whereas the earlier code used
an overestimation for the length of the Duration element.
This is the reason for the changes to the webm-webvtt-remux FATE-test.

(This commit does not implement support for Matroska's way of muxing
WebVTT; it also does not add checks to ensure that WebM-style subtitles
don't get muxed in Matroska. But the function for reformatting gets a
webm prefix to indicate that this is for WebM.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-01-19 12:18:17 +01:00
..
acodec avformat/argo_asf: pass name through as metadata 2021-10-15 23:40:15 +10:00
fate avformat/matroskaenc: Remove duplicated code for writing WebVTT subs 2022-01-19 12:18:17 +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