diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-08 00:54:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-08 00:54:04 +0100 |
| commit | 64a6a87dd4a3fd43665242b8a8b2b35a675a7839 (patch) | |
| tree | b95db96940d5d5b30405fa1a3a15d0b773ed504b /src/lib/reel_writer.cc | |
| parent | ccc093b159c61e811e24f427860b72343185681e (diff) | |
Fix build with shared_ptr dcp::Subtitle and subclasses.
Diffstat (limited to 'src/lib/reel_writer.cc')
| -rw-r--r-- | src/lib/reel_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index 16c20a536..7fca9e245 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -557,7 +557,7 @@ ReelWriter::write (PlayerSubtitles subs) BOOST_FOREACH (SubtitleString i, subs.text) { i.set_in (i.in() - dcp::Time (_period.from.seconds(), i.in().tcr)); i.set_out (i.out() - dcp::Time (_period.from.seconds(), i.out().tcr)); - _subtitle_asset->add (i); + _subtitle_asset->add (shared_ptr<dcp::Subtitle>(new dcp::SubtitleString(i))); } } |
