summaryrefslogtreecommitdiff
path: root/src/lib/subrip_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-03 22:54:17 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-03 22:54:17 +0100
commit7affca9f7b210c3137eb084cd393b534051a2647 (patch)
treea7258aaf447a83680ca459fcc856be4352c6f2d6 /src/lib/subrip_decoder.cc
parent635e9a1f0de1a7a8ec573e04391ccc83ee457d72 (diff)
Various fixes to allow independent x and y scaling of text subs (#489).
Diffstat (limited to 'src/lib/subrip_decoder.cc')
-rw-r--r--src/lib/subrip_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/subrip_decoder.cc b/src/lib/subrip_decoder.cc
index 6ed2e5254..dae2e4ab7 100644
--- a/src/lib/subrip_decoder.cc
+++ b/src/lib/subrip_decoder.cc
@@ -65,6 +65,7 @@ SubRipDecoder::pass (PassReason)
j->italic,
dcp::Colour (255, 255, 255),
j->font_size.points (72 * 11),
+ 1.0,
dcp::Time (_subtitles[_next].from.all_as_seconds()),
dcp::Time (_subtitles[_next].to.all_as_seconds()),
i->vertical_position.line.get() * (1.5 / 22) + 0.8,