diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-18 16:06:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-18 16:06:14 +0100 |
| commit | 2d57296a24c2eb4f6d99325add0e986de04f7e7d (patch) | |
| tree | 49a3788bdb5056143162309077c72d8aecaeb46c /src/lib/dcp_encoder.h | |
| parent | f84980b12b98b28574c441578b8b6850ce30e335 (diff) | |
Don't set up Writer etc. until the job is run. This means that
jobs queued in the batch converter don't start too early; e.g.
if you add the same job twice the check of the existing video
won't start on the second job until the first is complete.
Diffstat (limited to 'src/lib/dcp_encoder.h')
| -rw-r--r-- | src/lib/dcp_encoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dcp_encoder.h b/src/lib/dcp_encoder.h index d35b06184..b1514efdc 100644 --- a/src/lib/dcp_encoder.h +++ b/src/lib/dcp_encoder.h @@ -54,6 +54,8 @@ private: void audio (boost::shared_ptr<AudioBuffers>, DCPTime); void subtitle (PlayerSubtitles, DCPTimePeriod); + boost::shared_ptr<const Film> _film; + boost::weak_ptr<Job> _job; boost::shared_ptr<Writer> _writer; boost::shared_ptr<J2KEncoder> _j2k_encoder; bool _finishing; |
