summaryrefslogtreecommitdiff
path: root/src/MXF.h
diff options
context:
space:
mode:
authormikey <mikey@cinecert.com>2014-04-29 15:31:21 +0000
committermikey <>2014-04-29 15:31:21 +0000
commitdd03f3ae2c71df2c4eb89804293e621777a050cf (patch)
tree1e26fd0dab7c97aa82ce03f284ae449f0bb87b47 /src/MXF.h
parent5fae5df9b1cf2990b0383e1b633bdab4476a9669 (diff)
added a note about AS-02 support.
Diffstat (limited to 'src/MXF.h')
-rwxr-xr-xsrc/MXF.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/MXF.h b/src/MXF.h
index 6e6a47a..88fc0af 100755
--- a/src/MXF.h
+++ b/src/MXF.h
@@ -459,7 +459,18 @@ namespace ASDCP
}
};
- typedef std::map<const std::string, const UL, ci_comp> mca_label_map_t;
+ struct label_traits
+ {
+ const std::string tag_name;
+ const bool requires_prefix;
+ const UL ul;
+
+ label_traits(const std::string& tag_name, const bool requires_prefix, const UL ul) :
+ tag_name(tag_name), requires_prefix(requires_prefix), ul(ul) { }
+ };
+
+ typedef std::map<const std::string, const label_traits, ci_comp> mca_label_map_t;
+
bool decode_mca_string(const std::string& s, const mca_label_map_t& labels,
const Dictionary*& dict, const std::string& language, InterchangeObject_list_t&, ui32_t&);
@@ -477,7 +488,7 @@ namespace ASDCP
public:
ASDCP_MCAConfigParser(const Dictionary*&);
- bool DecodeString(const std::string& s, const std::string& language = "en");
+ bool DecodeString(const std::string& s, const std::string& language = "en-US");
// Valid only after a successful call to DecodeString
ui32_t ChannelCount() const;