summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_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/ffmpeg_decoder.cc
parentd8e0660d716654c4ac0a1aa5a5ae15e46d4d2883 (diff)
Support new libdcp with subtitle direction.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index bfc3b6132..e5e1f04ac 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -598,6 +598,7 @@ FFmpegDecoder::decode_ass_subtitle (string ass, ContentTimePeriod period)
*/
1.015 - ((1 + highest - j.vertical_position.line.get()) * 1.5 / 22),
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
k.text,
static_cast<dcp::Effect> (0),
dcp::Colour (255, 255, 255),