diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-16 12:23:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-20 01:52:16 +0100 |
| commit | ff869661d7632bc40aec17d1d42e31f18bd0c40b (patch) | |
| tree | 9a921beb0fe0f07765abd16247712f89728e9c1d /src/cpl.cc | |
| parent | f8b7b44ac1ea1e6744026beec57465707b04f07f (diff) | |
Derive verification note type from the code...v1.10.45
...rather than having to specify it each time.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -121,7 +121,6 @@ CPL::CPL(boost::filesystem::path file, vector<dcp::VerificationNote>* notes) if (notes) { notes->push_back( dcp::VerificationNote( - dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::INVALID_CPL_NAMESPACE, f.namespace_uri(), file @@ -154,7 +153,6 @@ CPL::CPL(boost::filesystem::path file, vector<dcp::VerificationNote>* notes) if (notes) { notes->push_back( dcp::VerificationNote( - dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::MISSING_CPL_CONTENT_VERSION, _id, file @@ -319,7 +317,6 @@ CPL::read_composition_metadata_asset(cxml::ConstNodePtr node, vector<dcp::Verifi /* With Interop DCPs this node may not make any sense, but that's OK */ notes->push_back( dcp::VerificationNote( - dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::INVALID_MAIN_SOUND_CONFIGURATION, fmt::format("{} could not be parsed", _main_sound_configuration->as_string()), *_file |
