Write one TTI block per subtitle line for binary STL.
authorCarl Hetherington <cth@carlh.net>
Wed, 25 Mar 2020 12:23:29 +0000 (12:23 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 25 Mar 2020 12:23:29 +0000 (12:23 +0000)
commitc18e3a2e54f992245feeac384a41792b82f698aa
tree207a5ea35b866b974bfc87bf218093f4b3cd9443
parentce61552e26fd47fdca523e70b3e3b612bbcd10a3
Write one TTI block per subtitle line for binary STL.

This has a number of apparent advantages.  Mainly, it increases
the amount of text we can cope with in a single subtitle; before
any subtitle with a total length of 111 characters would be truncated
(and truncated wrongly, incidentally).

Also it simplifies the code for putting different lines in their
correct positions and allows individual lines to have different
horizontal position references.
src/stl_binary_writer.cc