summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-10 23:40:09 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-11 01:33:14 +0100
commitc07b9340d12e6b724719ad6fd885102ab1a6d84e (patch)
treef06032b05288eb86f5d3471af11a578c2144474d /src
parentca813d739545b5b8fd7cbd7547f2cb197c222b82 (diff)
Missing setup of SubtitleDecoder position causing #1271 and probably other things.
Diffstat (limited to 'src')
-rw-r--r--src/lib/subtitle_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/subtitle_decoder.cc b/src/lib/subtitle_decoder.cc
index 39c36415a..32cae6acc 100644
--- a/src/lib/subtitle_decoder.cc
+++ b/src/lib/subtitle_decoder.cc
@@ -61,6 +61,7 @@ void
SubtitleDecoder::emit_image_start (ContentTime from, shared_ptr<Image> image, dcpomatic::Rect<double> rect)
{
ImageStart (ContentImageSubtitle (from, image, rect));
+ _position = from;
}
void