diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-08 23:54:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-09 02:38:50 +0100 |
| commit | 1df6f4a08a2f3b67c1637068ae4714c1cba2e1e7 (patch) | |
| tree | 92be307e0ba7a6659b8943245d44703d48354bb2 /src/dcp.h | |
| parent | f043af026316728c4ac2b84357a77d84082c06a1 (diff) | |
Add DCP::cpl_summaries().v1.10.42
DCP-o-matic needs to know some basic CPL details as quickly as possible,
and this is faster than doing read() and then cpls().
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -44,6 +44,7 @@ #include "asset_map.h" #include "certificate.h" #include "compose.hpp" +#include "cpl_summary.h" #include "metadata.h" #include "name_format.h" #include "util.h" @@ -117,6 +118,12 @@ public: */ void read (std::vector<VerificationNote>* notes = nullptr, bool ignore_incorrect_picture_mxf_type = false); + /** Return summaries of the CPLs in this DCP. This should only be used if the information + * in CPLSummary is all you need. It's faster than read(), but if you need more than + * the CPLSummary you will need to just call read(). + */ + std::vector<CPLSummary> cpl_summaries() const; + /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. * @param options Options to define what "equality" means. |
