diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-07 00:08:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-08 14:09:02 +0100 |
| commit | 46b4349fb5a19523e5105812bf79fd0e7df9c51f (patch) | |
| tree | 95911d79061b54d0c0b2d513fb2ce18cefbeebd8 /src/lib/reel_writer.h | |
| parent | 7d1fb4361e6eec27c9eefb886761293e904f0dff (diff) | |
Make Writer take an output DCP path rather than getting it from the
film itself.
Diffstat (limited to 'src/lib/reel_writer.h')
| -rw-r--r-- | src/lib/reel_writer.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h index 6acf0d21a..c65364567 100644 --- a/src/lib/reel_writer.h +++ b/src/lib/reel_writer.h @@ -74,8 +74,10 @@ public: void write (PlayerText text, TextType type, boost::optional<DCPTextTrack> track, dcpomatic::DCPTimePeriod period); void write (boost::shared_ptr<const dcp::AtmosFrame> atmos, AtmosMetadata metadata); - void finish (); - boost::shared_ptr<dcp::Reel> create_reel (std::list<ReferencedReelAsset> const & refs, std::list<boost::shared_ptr<dcpomatic::Font> > const & fonts); + 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, boost::filesystem::path output_dcp + ); void calculate_digests (boost::function<void (float)> set_progress); Frame start () const; @@ -104,7 +106,8 @@ private: void create_reel_text ( boost::shared_ptr<dcp::Reel> reel, std::list<ReferencedReelAsset> const & refs, std::list<boost::shared_ptr<dcpomatic::Font> > const& fonts, - int64_t duration + int64_t duration, + boost::filesystem::path output_dcp ) const; void create_reel_markers (boost::shared_ptr<dcp::Reel> reel) const; |
