projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Setup SubtitleDecoder::_position correctly (in some cases).
[dcpomatic.git]
/
src
/
lib
/
subtitle_decoder.cc
diff --git
a/src/lib/subtitle_decoder.cc
b/src/lib/subtitle_decoder.cc
index 802c9ef84cfaa7578b84a58995819cd9da5cc73b..5838d167be7913c301d7b46369d23555de9b65d7 100644
(file)
--- a/
src/lib/subtitle_decoder.cc
+++ b/
src/lib/subtitle_decoder.cc
@@
-40,10
+40,12
@@
using boost::function;
SubtitleDecoder::SubtitleDecoder (
Decoder* parent,
shared_ptr<const SubtitleContent> c,
- shared_ptr<Log> log
+ shared_ptr<Log> log,
+ ContentTime first
)
: DecoderPart (parent, log)
, _content (c)
+ , _position (first)
{
}