summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-15 23:16:35 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-15 23:16:35 +0000
commitf4901f4de5e48f53c62e89bbe01925bc9d6ee4f2 (patch)
treed1bdca67f44882da5ccef71b1bd2a869a3b95025 /src/lib/ffmpeg_decoder.cc
parent9e8d6f0a2a63ce2ce11cbda8b6dde06664871000 (diff)
Fix overlapping SSA subs.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index a1d90b2ba..294c0da8c 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -553,7 +553,8 @@ FFmpegDecoder::decode_ass_subtitle (string ass, ContentTimePeriod period)
boost::optional<string> (),
k.italic,
dcp::Colour (255, 255, 255),
- 60,
+ /* 48pt is 1/22nd of the screen height */
+ 48,
1,
dcp::Time (i.from.seconds(), 1000),
dcp::Time (i.to.seconds(), 1000),