summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/reel_writer.h')
-rw-r--r--src/lib/reel_writer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h
index 388494247..3d214878b 100644
--- a/src/lib/reel_writer.h
+++ b/src/lib/reel_writer.h
@@ -31,7 +31,7 @@
#include <boost/weak_ptr.hpp>
namespace dcpomatic {
- class Font;
+ class FontData;
}
class Film;
@@ -78,7 +78,7 @@ public:
void finish (boost::filesystem::path output_dcp);
boost::shared_ptr<dcp::Reel> create_reel (
std::list<ReferencedReelAsset> const & refs,
- std::list<boost::shared_ptr<dcpomatic::Font> > const & fonts,
+ std::vector<dcpomatic::FontData> const & fonts,
boost::filesystem::path output_dcp,
bool ensure_subtitles,
std::set<DCPTextTrack> ensure_closed_captions
@@ -111,7 +111,8 @@ private:
void create_reel_sound (boost::shared_ptr<dcp::Reel> reel, std::list<ReferencedReelAsset> const & refs) const;
void create_reel_text (
boost::shared_ptr<dcp::Reel> reel,
- std::list<ReferencedReelAsset> const & refs, std::list<boost::shared_ptr<dcpomatic::Font> > const& fonts,
+ std::list<ReferencedReelAsset> const & refs,
+ std::vector<dcpomatic::FontData> const& fonts,
int64_t duration,
boost::filesystem::path output_dcp,
bool ensure_subtitles,
@@ -132,6 +133,8 @@ private:
boost::weak_ptr<Job> _job;
bool _text_only;
+ dcp::ArrayData _default_font;
+
boost::shared_ptr<dcp::PictureAsset> _picture_asset;
/** picture asset writer, or 0 if we are not writing any picture because we already have one */
boost::shared_ptr<dcp::PictureAssetWriter> _picture_asset_writer;