diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-21 01:57:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-21 01:57:06 +0100 |
| commit | 76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c (patch) | |
| tree | 8c1b5e5dc2cec265469a0d8018b6d7396b089432 /src/mxf.cc | |
| parent | 6c3db78c3d20ef064fa2a0ef38e65ca1ae69adb3 (diff) | |
Use enum class for the things in types.h
Diffstat (limited to 'src/mxf.cc')
| -rw-r--r-- | src/mxf.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -80,7 +80,7 @@ MXF::fill_writer_info (ASDCP::WriterInfo* writer_info, string id) const writer_info->ProductName = _metadata.product_name; DCP_ASSERT (_standard); - if (_standard == INTEROP) { + if (_standard == Standard::INTEROP) { writer_info->LabelSetType = ASDCP::LS_MXF_INTEROP; } else { writer_info->LabelSetType = ASDCP::LS_MXF_SMPTE; @@ -129,10 +129,10 @@ MXF::read_writer_info (ASDCP::WriterInfo const & info) switch (info.LabelSetType) { case ASDCP::LS_MXF_INTEROP: - _standard = INTEROP; + _standard = Standard::INTEROP; break; case ASDCP::LS_MXF_SMPTE: - _standard = SMPTE; + _standard = Standard::SMPTE; break; default: throw ReadError ("Unrecognised label set type in MXF"); |
