diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-10-21 17:25:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-21 23:38:43 +0000 |
| commit | c6dba8368b45b6177a971050236d37da0ce4ff4c (patch) | |
| tree | 3323c5f65dbc75e69303f9e823ae65e4574e68bb /src/lib/reel_writer.h | |
| parent | a2cba59a791eb8a65d730aa170586117f120e437 (diff) | |
Copy with progress updates when we might copy long files (#1574).
Backported from 48b82de5b6e8e07330a2f72dbddd8d9830fe047e in v2.15.x.
Diffstat (limited to 'src/lib/reel_writer.h')
| -rw-r--r-- | src/lib/reel_writer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h index f13f05dde..0c9b72184 100644 --- a/src/lib/reel_writer.h +++ b/src/lib/reel_writer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -25,6 +25,7 @@ #include "dcp_text_track.h" #include <dcp/picture_asset_writer.h> #include <boost/shared_ptr.hpp> +#include <boost/weak_ptr.hpp> class Film; class Job; @@ -113,6 +114,7 @@ private: /** number of reels in the DCP */ int _reel_count; boost::optional<std::string> _content_summary; + boost::weak_ptr<Job> _job; boost::shared_ptr<dcp::PictureAsset> _picture_asset; boost::shared_ptr<dcp::PictureAssetWriter> _picture_asset_writer; |
