diff options
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | src/lib/writer.cc | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2018-05-15 Carl Hetherington <cth@carlh.net> + * Fix incorrect subtitle positining in a VF when there are more than + two consecutive reels with no subtitles. + * Fix missing burnt-in / previewed subtitles containing ampersands. 2018-05-08 Carl Hetherington <cth@carlh.net> diff --git a/src/lib/writer.cc b/src/lib/writer.cc index d86a2ccf4..896d59cfc 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -660,8 +660,9 @@ Writer::write (PlayerSubtitles subs, DCPTimePeriod period) return; } - if (_subtitle_reel->period().to <= period.from) { + while (_subtitle_reel->period().to <= period.from) { ++_subtitle_reel; + DCPOMATIC_ASSERT (_subtitle_reel != _reels.end()); } DCPOMATIC_ASSERT (_subtitle_reel != _reels.end()); |
