From 75e86accf241dc6e2d2c2235e21093a05b01b335 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Feb 2026 01:48:53 +0100 Subject: More hacks - MCA descriptors in CPL but not MXF. --- src/mca_sub_descriptor.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/mca_sub_descriptor.h') diff --git a/src/mca_sub_descriptor.h b/src/mca_sub_descriptor.h index 4a2e8c09..9cbd7d4f 100644 --- a/src/mca_sub_descriptor.h +++ b/src/mca_sub_descriptor.h @@ -32,6 +32,7 @@ */ +#include "types.h" #include #include #include @@ -43,9 +44,8 @@ namespace dcp { class MCASubDescriptor { public: - explicit MCASubDescriptor(std::string tag_) - : tag(std::move(tag_)) - {} + MCASubDescriptor() = default; + explicit MCASubDescriptor(std::string tag_); explicit MCASubDescriptor(cxml::ConstNodePtr node); void as_xml(xmlpp::Element* node) const; @@ -62,4 +62,9 @@ public: }; +std::pair> create_mca_subdescriptors( + std::vector const& extra_active_channels, int total_channels, boost::optional language +); + + } -- cgit v1.2.3