summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-17 23:07:03 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-17 23:07:05 +0200
commit4347717803d202a41792faf42e846fd73a0586bf (patch)
treeabc717a630e4768f3b05376274b8d47aaa059c57 /src/dcp.h
parent47b82590f5d1538b599e323daa5e0c792e4d4695 (diff)
Introduce SMPTEFlavour and use it to decide which optional things to write.
This also adds a possibly-correct idea of what "SMPTE A" is supposed to mean.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 21cc3aac..88621c9e 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -46,6 +46,7 @@
#include "compose.hpp"
#include "metadata.h"
#include "name_format.h"
+#include "smpte_flavour.h"
#include "util.h"
#include "verify.h"
#include "version.h"
@@ -157,9 +158,9 @@ public:
*/
void write_xml(
std::shared_ptr<const CertificateChain> signer = std::shared_ptr<const CertificateChain>(),
- bool include_mca_subdescriptors = true,
+ SMPTEFlavour flavour = SMPTEFlavour::BV21,
NameFormat name_format = NameFormat("%t")
- );
+ );
void resolve_refs (std::vector<std::shared_ptr<Asset>> assets);