diff options
| author | mikey <mikey@cinecert.com> | 2014-04-29 15:31:21 +0000 |
|---|---|---|
| committer | mikey <> | 2014-04-29 15:31:21 +0000 |
| commit | dd03f3ae2c71df2c4eb89804293e621777a050cf (patch) | |
| tree | 1e26fd0dab7c97aa82ce03f284ae449f0bb87b47 /src/MXF.h | |
| parent | 5fae5df9b1cf2990b0383e1b633bdab4476a9669 (diff) | |
added a note about AS-02 support.
Diffstat (limited to 'src/MXF.h')
| -rwxr-xr-x | src/MXF.h | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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; |
