1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
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 fate/pixfmt: test xyz12le 2021-08-29 18:44:46 +02:00
seek avformat/matroskaenc: Don't waste bytes on Video element length fields 2022-01-19 11:50:27 +01:00
vsynth libswcale/input: use more accurate planer rgb16 yuv conversions 2020-10-06 17:56:52 +02:00
vsynth1
vsynth_lena