projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support new libdcp with subtitle direction.
[dcpomatic.git]
/
src
/
lib
/
text_subtitle_decoder.cc
diff --git
a/src/lib/text_subtitle_decoder.cc
b/src/lib/text_subtitle_decoder.cc
index b40f830688099b56fb92eaf14d9ee7e3c47112b1..c94a002f550bdec8f0cc73ac399261178289c145 100644
(file)
--- 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(),