summaryrefslogtreecommitdiff
path: root/src/lib/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/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/writer.h')
-rw-r--r--src/lib/writer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h
index 1c290e6ca..3b5cc3dc3 100644
--- a/src/lib/writer.h
+++ b/src/lib/writer.h
@@ -99,7 +99,7 @@ bool operator== (QueueItem const & a, QueueItem const & b);
class Writer : public ExceptionStore, public boost::noncopyable, public WeakConstFilm
{
public:
- Writer (boost::weak_ptr<const Film>, boost::weak_ptr<Job>);
+ Writer (boost::weak_ptr<const Film>, boost::weak_ptr<Job>, bool text_only = false);
~Writer ();
void start ();
@@ -189,6 +189,8 @@ private:
*/
int _pushed_to_disk;
+ bool _text_only;
+
boost::mutex _digest_progresses_mutex;
std::map<boost::thread::id, float> _digest_progresses;