summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-06-02 00:33:01 +0200
committerCarl Hetherington <cth@carlh.net>2021-06-02 00:33:01 +0200
commit3c59d07d90e85355e320ed6d30efa30242ed6c31 (patch)
treec7ce8819deeda9afbba5a75726e425d8b5f3e705 /src/cpl.h
parentdd672d926e3b88cbe42b0778fda397d9e858b592 (diff)
Pass through CompositionMetadataAsset correctly.
We weren't saving Id, and were not quite handling FullContentText correctly.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 797c49d2..9c85dccd 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -323,6 +323,10 @@ private:
ContentKind _content_kind; ///< &lt;ContentKind&gt;
std::vector<ContentVersion> _content_versions;
std::vector<Rating> _ratings;
+ /** ID for CompositionMetadataAsset tag; either a random one, ready for writing a new tag,
+ * or the one read in from the existing CPL.
+ */
+ std::string _cpl_metadata_id = make_uuid();
/** Human-readable name of the composition, without any metadata (i.e. no -FTR-EN-XX- etc.) */
boost::optional<std::string> _full_content_title_text;
boost::optional<std::string> _full_content_title_text_language;