From 2d57296a24c2eb4f6d99325add0e986de04f7e7d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Jul 2017 16:06:14 +0100 Subject: 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. --- src/lib/dcp_encoder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/dcp_encoder.h') 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, DCPTime); void subtitle (PlayerSubtitles, DCPTimePeriod); + boost::shared_ptr _film; + boost::weak_ptr _job; boost::shared_ptr _writer; boost::shared_ptr _j2k_encoder; bool _finishing; -- cgit v1.2.3