summaryrefslogtreecommitdiff
path: root/src/lib/text_subtitle_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-12 02:22:02 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-12 02:22:02 +0100
commit4557d71347d597ddd4a1b5bc04776ffe3c3f3483 (patch)
tree705f54b68f12416774d128dd392548f22aab0c96 /src/lib/text_subtitle_decoder.cc
parentd8e0660d716654c4ac0a1aa5a5ae15e46d4d2883 (diff)
Support new libdcp with subtitle direction.
Diffstat (limited to 'src/lib/text_subtitle_decoder.cc')
-rw-r--r--src/lib/text_subtitle_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc
index b40f83068..c94a002f5 100644
--- a/src/lib/text_subtitle_decoder.cc
+++ b/src/lib/text_subtitle_decoder.cc
@@ -93,6 +93,7 @@ TextSubtitleDecoder::pass (PassReason, bool)
*/
1.015 - ((1 + highest - i.vertical_position.line.get()) * 1.5 / 22),
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
j.text,
content->outline() ? dcp::BORDER : dcp::NONE,
content->outline_colour(),