diff options
| author | John Hurst <jhurst@cinecert.com> | 2020-07-07 10:48:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-07 10:48:29 -0700 |
| commit | 3562c679bc8fd59ac91541bba2144a778bfdbf02 (patch) | |
| tree | e7a53012d45461876839fdc480aee939ab6d8cb1 /src/MXF.cpp | |
| parent | dc74dc00c2f225344f14c39969bd6b66664b4fd4 (diff) | |
| parent | f421cbb767e0437458332200e3f8537064feaaa8 (diff) | |
Merge pull request #45 from cinecert/iab-labels
Add support for IAB Track Files (SMPTE ST 2067-201)
Diffstat (limited to 'src/MXF.cpp')
| -rwxr-xr-x | src/MXF.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/MXF.cpp b/src/MXF.cpp index af406ee..5cab95e 100755 --- a/src/MXF.cpp +++ b/src/MXF.cpp @@ -1742,6 +1742,12 @@ ASDCP::MXF::decode_mca_string(const std::string& s, const mca_label_map_t& label return false; } + if ( ! ul_is_an_mca_channel(i->second.ul) ) + { + DefaultLogSink().Error("Not a channel symbol: '%s'\n", symbol_buf.c_str()); + return false; + } + ASDCP::MXF::AudioChannelLabelSubDescriptor *channel_descr = new ASDCP::MXF::AudioChannelLabelSubDescriptor(dict); GenRandomValue(channel_descr->MCALinkID); |
