summaryrefslogtreecommitdiff
path: root/test/combine_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-12 17:47:23 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:23 +0100
commitdde186a4c30f066c4bea7bb120ceb130f83faf90 (patch)
tree51ec9aec1d9885c8ef17ec241d1e506ce2a632a0 /test/combine_test.cc
parent9df315a026b7c30ee416a090c583e01f65b86d03 (diff)
Bv2.1 7.2.{4,5}: check that subtitles are not too short, too close or
too early in the first reel.
Diffstat (limited to 'test/combine_test.cc')
-rw-r--r--test/combine_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/combine_test.cc b/test/combine_test.cc
index 89d2f094..f6f4789c 100644
--- a/test/combine_test.cc
+++ b/test/combine_test.cc
@@ -87,7 +87,7 @@ check_no_errors (boost::filesystem::path path)
auto notes = dcp::verify (directories, &stage, &progress, xsd_test);
vector<dcp::VerificationNote> filtered_notes;
std::copy_if (notes.begin(), notes.end(), std::back_inserter(filtered_notes), [](dcp::VerificationNote const& i) {
- return i.code() != dcp::VerificationNote::NOT_SMPTE;
+ return i.code() != dcp::VerificationNote::NOT_SMPTE && i.code() != dcp::VerificationNote::SUBTITLE_TOO_SHORT;
});
dump_notes (filtered_notes);
BOOST_CHECK (filtered_notes.empty());