summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-08 22:22:30 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-08 23:23:54 +0100
commit4ba4258d1a3c89aa1ec4bdcfacb3ceec18adb6b7 (patch)
tree96ae477548fe7df84fd16fe466251cf3c67e3338 /src/lib/reel_writer.h
parent3239ce7c2cde98a6d70777f7e408b356a5f01a94 (diff)
In a DCP with any subs/ccaps, make sure every reel has them (#1340).
Diffstat (limited to 'src/lib/reel_writer.h')
-rw-r--r--src/lib/reel_writer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h
index 08b85a785..388494247 100644
--- a/src/lib/reel_writer.h
+++ b/src/lib/reel_writer.h
@@ -77,7 +77,11 @@ 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, boost::filesystem::path output_dcp
+ std::list<ReferencedReelAsset> const & refs,
+ std::list<boost::shared_ptr<dcpomatic::Font> > const & fonts,
+ boost::filesystem::path output_dcp,
+ bool ensure_subtitles,
+ std::set<DCPTextTrack> ensure_closed_captions
);
void calculate_digests (boost::function<void (float)> set_progress);
@@ -109,7 +113,9 @@ private:
boost::shared_ptr<dcp::Reel> reel,
std::list<ReferencedReelAsset> const & refs, std::list<boost::shared_ptr<dcpomatic::Font> > const& fonts,
int64_t duration,
- boost::filesystem::path output_dcp
+ boost::filesystem::path output_dcp,
+ bool ensure_subtitles,
+ std::set<DCPTextTrack> ensure_closed_captions
) const;
void create_reel_markers (boost::shared_ptr<dcp::Reel> reel) const;