diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-15 12:18:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-15 12:18:10 +0000 |
| commit | 835fd0fd7ee052edc001ac8fe3c928d1de7367e8 (patch) | |
| tree | 798d50a74ee1a6bf22b11467517aa97dce609609 /src/lib/types.h | |
| parent | dc864b775198d3378bd77031ad4750bf49e93b6b (diff) | |
Don't offer to make KDMs for CPLs with no encrypted assets (#1490).
Diffstat (limited to 'src/lib/types.h')
| -rw-r--r-- | src/lib/types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/types.h b/src/lib/types.h index 607c9e275..3c9a8025b 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -205,17 +205,22 @@ struct Crop struct CPLSummary { - CPLSummary (std::string d, std::string i, std::string a, boost::filesystem::path f) + CPLSummary (boost::filesystem::path p); + + CPLSummary (std::string d, std::string i, std::string a, boost::filesystem::path f, bool e) : dcp_directory (d) , cpl_id (i) , cpl_annotation_text (a) , cpl_file (f) + , encrypted (e) {} std::string dcp_directory; std::string cpl_id; std::string cpl_annotation_text; boost::filesystem::path cpl_file; + /** true if this CPL has any encrypted assets */ + bool encrypted; }; extern bool operator== (Crop const & a, Crop const & b); |
