projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cope with offsets between video/audio/subtitle data in a muxed file.
[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 e29bf580992f534d4056e4780fa0b7008d86b915..5f55451088e9b17472b70c0ff304c26c8eb1fd99 100644
(file)
--- a/
src/lib/text_subtitle_decoder.cc
+++ b/
src/lib/text_subtitle_decoder.cc
@@
-68,7
+68,7
@@
TextSubtitleDecoder::pass (PassReason, bool)
ContentTimePeriod const p = content_time_period (_subtitles[_next]);
subtitle->give_text (p, _subtitles[_next]);
- _position = p.from;
+ _
subtitle_
position = p.from;
++_next;
return false;