diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 21:33:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 11fe3ab56ad59b8b5525fa795d44d2323ef6d5b8 (patch) | |
| tree | 3bd7b96fee95bf6b34acdfbfdb47c92bfb5c818b /src/lib/reel_writer.cc | |
| parent | 0ab83642f0c96ae2681beae04873b3226338a570 (diff) | |
Get types into ReelWriter.
Diffstat (limited to 'src/lib/reel_writer.cc')
| -rw-r--r-- | src/lib/reel_writer.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index d23ac76d1..8eb0461bc 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -528,8 +528,10 @@ ReelWriter::write (shared_ptr<const AudioBuffers> audio) } void -ReelWriter::write (PlayerText subs, DCPTimePeriod period) +ReelWriter::write (PlayerText subs, TextType type, DCPTimePeriod period) { + /* XXX: we need separate libdcp asset types here and to know how different they are */ + if (!_subtitle_asset) { string lang = _film->subtitle_language (); if (lang.empty ()) { |
