diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-10-21 17:25:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-10-21 17:25:04 +0200 |
| commit | 48b82de5b6e8e07330a2f72dbddd8d9830fe047e (patch) | |
| tree | 9eab5b143bd389cfa7cd02028a16964abf0baaf9 /src/lib/reel_writer.h | |
| parent | 6dc179f7d08477ecc7bac1257b47dda048a1b878 (diff) | |
Copy with progress updates when we might copy long files (#1574).
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 8649ea37f..46f477616 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> namespace dcpomatic { class Font; @@ -116,6 +117,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; |
