summaryrefslogtreecommitdiff
path: root/src/lib/reel_writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-07 01:18:38 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-08 14:09:02 +0100
commitcadca6e4f8c1d844f1b5fb9375023e627c674fa9 (patch)
treeb10c0ce91c95a2fd5d9bdb2326fe367905990b15 /src/lib/reel_writer.h
parent46b4349fb5a19523e5105812bf79fd0e7df9c51f (diff)
Write subtitles and closed captions to a test DCP in the hints thread,
then check the result for Bv2.1 violations (part of #1800).
Diffstat (limited to 'src/lib/reel_writer.h')
-rw-r--r--src/lib/reel_writer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h
index c65364567..6237c2943 100644
--- a/src/lib/reel_writer.h
+++ b/src/lib/reel_writer.h
@@ -64,7 +64,8 @@ public:
dcpomatic::DCPTimePeriod period,
boost::shared_ptr<Job> job,
int reel_index,
- int reel_count
+ int reel_count,
+ bool text_only
);
void write (boost::shared_ptr<const dcp::Data> encoded, Frame frame, Eyes eyes);
@@ -122,6 +123,7 @@ private:
int _reel_count;
boost::optional<std::string> _content_summary;
boost::weak_ptr<Job> _job;
+ bool _text_only;
boost::shared_ptr<dcp::PictureAsset> _picture_asset;
/** picture asset writer, or 0 if we are not writing any picture because we already have one */