diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-20 22:29:21 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-20 22:29:21 +0000 |
| commit | 5f2a57d1c21c3e8067dfd1f68505b1bf96e1d7c7 (patch) | |
| tree | 01e112c11223eb94772e86ca40fbefdb7ec05b8e /src/lib/transcoder.cc | |
| parent | b607482671ee26a3462d9fcefdd7d7ddcd25184c (diff) | |
Basic pass-through of font information when using DCP subtitles.
Diffstat (limited to 'src/lib/transcoder.cc')
| -rw-r--r-- | src/lib/transcoder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc index 9d8eebe25..5718a05b4 100644 --- a/src/lib/transcoder.cc +++ b/src/lib/transcoder.cc @@ -63,6 +63,11 @@ Transcoder::go () DCPTime const frame = DCPTime::from_frames (1, _film->video_frame_rate ()); DCPTime const length = _film->length (); + + if (!_film->burn_subtitles ()) { + _writer->write (_player->get_subtitle_fonts ()); + } + for (DCPTime t; t < length; t += frame) { list<shared_ptr<PlayerVideo> > v = _player->get_video (t, true); for (list<shared_ptr<PlayerVideo> >::const_iterator i = v.begin(); i != v.end(); ++i) { |
