summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-15 22:25:42 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-17 15:35:14 +0200
commitccd69987ab861ea4521836fa2a5227e2dfac3479 (patch)
tree0bffcddaf011d5918e68f7e8a6e089a4837eea1d /src/lib/text_decoder.cc
parent2b793cd6eac56b06a2d694591cddecb3ae2b099d (diff)
Basic and slightly inaccurate support for <Space> in subtitles (#2103).v2.15.170
Adding horizontal space to a Pango layout is hard, and I think this change probably gets it slightly wrong, but it's a step in the right direction.
Diffstat (limited to 'src/lib/text_decoder.cc')
-rw-r--r--src/lib/text_decoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/text_decoder.cc b/src/lib/text_decoder.cc
index 88f7cd4a9..99b68faba 100644
--- a/src/lib/text_decoder.cc
+++ b/src/lib/text_decoder.cc
@@ -247,7 +247,8 @@ TextDecoder::emit_plain_start (ContentTime from, sub::Subtitle const & subtitle)
use libsub for DCP subs) we can cheat by just putting 0 in here.
*/
dcp::Time (),
- dcp::Time ()
+ dcp::Time (),
+ 0
)
);
}