summaryrefslogtreecommitdiff
path: root/src/mca_sub_descriptor.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-23 01:48:53 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-23 01:48:53 +0100
commit75e86accf241dc6e2d2c2235e21093a05b01b335 (patch)
treee18db446b6b90677df23e4329cc1584f03a6a2c5 /src/mca_sub_descriptor.h
parent20200f69bbf5bf611eb301b1e793384ee7cd568d (diff)
More hacks - MCA descriptors in CPL but not MXF.edgecode
Diffstat (limited to 'src/mca_sub_descriptor.h')
-rw-r--r--src/mca_sub_descriptor.h11
1 files changed, 8 insertions, 3 deletions
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 <libcxml/cxml.h>
#include <boost/optional.hpp>
#include <string>
@@ -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<MCASubDescriptor, std::vector<MCASubDescriptor>> create_mca_subdescriptors(
+ std::vector<dcp::Channel> const& extra_active_channels, int total_channels, boost::optional<std::string> language
+);
+
+
}