diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-12 15:17:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-12 22:34:36 +0200 |
| commit | 87cd4af7a2171000bb190c274633f28cf35e2223 (patch) | |
| tree | b45cfaf36e83755d850eaaab3f9e18ebb1f2e486 /test/combine_test.cc | |
| parent | 05adc13a5eef7c0fe165d062c0e40ad558a083d0 (diff) | |
Report zero- or negative-length subtitles as an error.v1.10.19
This is distinct from the Bv2.1 warning about subtitles being shorter
than 15 frames. Also fix an assertion failure when negative-length
subtitles are seen.
Diffstat (limited to 'test/combine_test.cc')
| -rw-r--r-- | test/combine_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/combine_test.cc b/test/combine_test.cc index dc72d2d4..b26520f3 100644 --- a/test/combine_test.cc +++ b/test/combine_test.cc @@ -92,7 +92,7 @@ check_no_errors (boost::filesystem::path path) std::copy_if (notes.begin(), notes.end(), std::back_inserter(filtered_notes), [](dcp::VerificationNote const& i) { return i.type() != dcp::VerificationNote::Type::OK && i.code() != dcp::VerificationNote::Code::INVALID_STANDARD && - i.code() != dcp::VerificationNote::Code::INVALID_SUBTITLE_DURATION; + i.code() != dcp::VerificationNote::Code::INVALID_SUBTITLE_DURATION_BV21; }); dump_notes (filtered_notes); BOOST_CHECK (filtered_notes.empty()); |
