From ccd69987ab861ea4521836fa2a5227e2dfac3479 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Oct 2021 22:25:42 +0200 Subject: Basic and slightly inaccurate support for in subtitles (#2103). 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. --- src/lib/text_decoder.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/text_decoder.cc') 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 ) ); } -- cgit v1.2.3