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/writer.h | |
| parent | b607482671ee26a3462d9fcefdd7d7ddcd25184c (diff) | |
Basic pass-through of font information when using DCP subtitles.
Diffstat (limited to 'src/lib/writer.h')
| -rw-r--r-- | src/lib/writer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h index 5efb14e50..6aa0f4c1f 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -24,7 +24,6 @@ #include "exceptions.h" #include "types.h" #include "player_subtitles.h" -#include <dcp/subtitle_content.h> #include <boost/shared_ptr.hpp> #include <boost/weak_ptr.hpp> #include <boost/thread.hpp> @@ -35,6 +34,7 @@ class Film; class EncodedData; class AudioBuffers; class Job; +class Font; namespace dcp { class MonoPictureMXF; @@ -45,6 +45,7 @@ namespace dcp { class PictureMXFWriter; class SoundMXF; class SoundMXFWriter; + class InteropSubtitleContent; } struct QueueItem @@ -95,6 +96,7 @@ public: void fake_write (int, Eyes); void write (boost::shared_ptr<const AudioBuffers>); void write (PlayerSubtitles subs); + void write (std::list<boost::shared_ptr<Font> > fonts); void repeat (int f, Eyes); void finish (); @@ -149,5 +151,5 @@ private: boost::shared_ptr<dcp::PictureMXFWriter> _picture_mxf_writer; boost::shared_ptr<dcp::SoundMXF> _sound_mxf; boost::shared_ptr<dcp::SoundMXFWriter> _sound_mxf_writer; - boost::shared_ptr<dcp::SubtitleContent> _subtitle_content; + boost::shared_ptr<dcp::InteropSubtitleContent> _subtitle_content; }; |
