[FFmpeg-devel] [PATCH 0/3] Some small ASS conversion fixes

Oneric oneric at oneric.de
Sun Nov 13 21:07:01 EET 2022


This fixes colours and font selection for files converted to ASS.

To avoid a bug with patchwork’s diff download stripping CRLFs,
I formatted the updates of reference files as binary.
They intentionally contain CRLF characters and without them do
not pass FATE. tests/ref/fate/sub-scc keeps a text diff since it
alone is marked as "diff eol=crlf" in .gitattributes.

Oneric (3):
  avcodec/ass: fix comment
  avcodec/ass: accurately preserve colours
  avcodec/ass: specify a permissive encoding

 libavcodec/ass.c                 |   5 +++--
 tests/ref/fate/sub-aqtitle       | Bin 3213 -> 3233 bytes
 tests/ref/fate/sub-cc            | Bin 839 -> 859 bytes
 tests/ref/fate/sub-cc-realtime   | Bin 1524 -> 1544 bytes
 tests/ref/fate/sub-cc-scte20     | Bin 945 -> 965 bytes
 tests/ref/fate/sub-charenc       | Bin 6008 -> 6028 bytes
 tests/ref/fate/sub-jacosub       | Bin 1783 -> 1803 bytes
 tests/ref/fate/sub-microdvd      | Bin 1375 -> 1395 bytes
 tests/ref/fate/sub-movtext       | Bin 783 -> 803 bytes
 tests/ref/fate/sub-mpl2          | Bin 870 -> 890 bytes
 tests/ref/fate/sub-mpsub         | Bin 2517 -> 2537 bytes
 tests/ref/fate/sub-mpsub-frames  | Bin 736 -> 756 bytes
 tests/ref/fate/sub-pjs           | Bin 860 -> 880 bytes
 tests/ref/fate/sub-realtext      | Bin 939 -> 959 bytes
 tests/ref/fate/sub-sami          | Bin 1981 -> 2001 bytes
 tests/ref/fate/sub-sami2         | Bin 9970 -> 9990 bytes
 tests/ref/fate/sub-scc           |   3 ++-
 tests/ref/fate/sub-srt           | Bin 6301 -> 6321 bytes
 tests/ref/fate/sub-srt-badsyntax | Bin 1561 -> 1581 bytes
 tests/ref/fate/sub-stl           | Bin 2241 -> 2261 bytes
 tests/ref/fate/sub-subviewer     | Bin 780 -> 800 bytes
 tests/ref/fate/sub-subviewer1    | Bin 1494 -> 1514 bytes
 tests/ref/fate/sub-vplayer       | Bin 742 -> 762 bytes
 tests/ref/fate/sub-webvtt        | Bin 1985 -> 2005 bytes
 tests/ref/fate/sub-webvtt2       | Bin 1648 -> 1668 bytes
 25 files changed, 5 insertions(+), 3 deletions(-)

-- 
2.30.2



More information about the ffmpeg-devel mailing list