diff options
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; } |
