diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-08 23:26:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-08 23:26:21 +0100 |
| commit | 54ef3f25f924a677de0d71e1f773898b56ab5852 (patch) | |
| tree | b2d57ad1a77a17076c8044f089a3d266778e042c /src/lib/writer.cc | |
| parent | 64a6a87dd4a3fd43665242b8a8b2b35a675a7839 (diff) | |
Write image subs to DCPs.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index cd5b6d7e0..2eec8110e 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -665,10 +665,6 @@ Writer::can_fake_write (Frame frame) const void Writer::write (PlayerSubtitles subs, DCPTimePeriod period) { - if (subs.text.empty ()) { - return; - } - while (_subtitle_reel->period().to <= period.from) { ++_subtitle_reel; DCPOMATIC_ASSERT (_subtitle_reel != _reels.end()); @@ -676,7 +672,7 @@ Writer::write (PlayerSubtitles subs, DCPTimePeriod period) DCPOMATIC_ASSERT (_subtitle_reel != _reels.end()); - _subtitle_reel->write (subs); + _subtitle_reel->write (subs, period); } void |
