diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-24 22:38:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-24 22:38:52 +0200 |
| commit | 85c565b56de05e93617a8dfd633d6f9d6e9cb30a (patch) | |
| tree | ecde1c29df68d91c749fd33ea7e4175a3a3716d6 /src/dcp.h | |
| parent | ec520e1a5ed27b3eb414627acf7ad7f9cd661346 (diff) | |
Try to remove the PKL object, and make it so that we don't keepdcp-editor2
the PKL assets around after reading them.
But verification needs to see those assets, to check the hashes.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -170,13 +170,6 @@ public: return _directory; } - /** @return PKLs if this DCP was read from an existing one, or if write_xml() has been called on it. - * If neither is true, this method returns an empty vector. - */ - std::vector<std::shared_ptr<PKL>> pkls () const { - return _pkls; - } - boost::optional<boost::filesystem::path> asset_map_path () { return _asset_map; } @@ -200,8 +193,7 @@ private: boost::filesystem::path _directory; /** The CPLs that make up this DCP */ std::vector<std::shared_ptr<CPL>> _cpls; - /** The PKLs that make up this DCP */ - std::vector<std::shared_ptr<PKL>> _pkls; + PKLMetadata _pkl_metadata; /** File that the ASSETMAP was read from or last written to */ mutable boost::optional<boost::filesystem::path> _asset_map; |
