[FFmpeg-devel] [PATCH v2 0/3] Fix some active sequences in subtitles

Oneric oneric at oneric.de
Sun Dec 10 18:37:12 EET 2023


Changes from v1:
 - ff_ass_bprint_text_event now only inserts a word-joiner
   if there isn’t already one anyway
 - added a third commit improving the handling of
   curly brackets for standard ASS renderers

Heads up:
As everytime FATE’s ASS reference samples are touched the commits
contain CRLF endings because the reference files do.
Unless it has finally been fixed, patchwork doesn’t like this and will
mangle and falsely fail to apply the patches and this particular mailing list
has also in the past been eager to rewrite the mail body, mangling the encoding
and destroying CRLF line endings in the process.
I took the usual measures to protect against the latter (explicity using base64
transfer encoding and including non-ASCII characters in the body), but if this
now also doesn't work anymore, I’ll just reply to this mail with a link to
the patches uploaded somewhere else.
(And send patches to get rid of CRLF line endings)


Oneric (3):
  avcodec/webvttdec: honour bidi marks
  avcodec/{ass,webvttdec}: fix handling of backslashes
  avcodec/{ass,webvttdec}: more portable curly brace escapes

 libavcodec/ass.c           | 19 +++++++++++++++----
 libavcodec/webvttdec.c     |  4 ++--
 tests/ref/fate/sub-webvtt  |  2 +-
 tests/ref/fate/sub-webvtt2 |  2 +-
 4 files changed, 19 insertions(+), 8 deletions(-)

-- 
2.39.2



More information about the ffmpeg-devel mailing list