diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-09 14:13:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-09 14:14:31 +0200 |
| commit | c1229ba3e750fa0c877ef8444da82e8ea4a9638f (patch) | |
| tree | 8d0d7727639dd2d1bbcbe840e27f31c7f4365fb5 /src/cpl.cc | |
| parent | 3005571cd08c3bdd233fd073b6ae956b9d98b570 (diff) | |
Make CPL metadata writing optional.optional-cpl-metadata
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -181,7 +181,7 @@ CPL::set (std::vector<std::shared_ptr<Reel>> reels) void -CPL::write_xml (boost::filesystem::path file, shared_ptr<const CertificateChain> signer) const +CPL::write_xml(boost::filesystem::path file, shared_ptr<const CertificateChain> signer, bool write_cpl_metadata) const { xmlpp::Document doc; xmlpp::Element* root; @@ -225,7 +225,7 @@ CPL::write_xml (boost::filesystem::path file, shared_ptr<const CertificateChain> bool first = true; for (auto i: _reels) { auto asset_list = i->write_to_cpl (reel_list, _standard); - if (first && _standard == Standard::SMPTE) { + if (first && _standard == Standard::SMPTE && write_cpl_metadata) { maybe_write_composition_metadata_asset (asset_list); first = false; } |
