red_a->set_position (film, dcpomatic::DCPTime());
red_a->video->set_length (240);
sub_a->set_position (film, dcpomatic::DCPTime());
+ sub_a->only_text()->set_language(dcp::LanguageTag("de"));
red_b->set_position (film, dcpomatic::DCPTime::from_seconds(10));
red_b->video->set_length (240);
sub_b->set_position (film, dcpomatic::DCPTime::from_seconds(10));
+ sub_b->only_text()->set_language(dcp::LanguageTag("de"));
film->set_reel_type (ReelType::BY_VIDEO_CONTENT);
{
dcp::VerificationNote::Code::INVALID_SUBTITLE_FIRST_TEXT_TIME,
dcp::VerificationNote::Code::INVALID_SUBTITLE_SPACING
- });
+ },
+ true,
+ /* ClairMeta gives an error with multiple ClosedCaption assets */
+ false
+ );
dcp::DCP dcp ("build/test/closed_captions_in_all_reels_test/" + film->dcp_name());
dcp.read ();
auto subtitle = content_factory("test/data/45s.srt")[0];
film->examine_and_add_content (subtitle);
BOOST_REQUIRE (!wait_for_jobs());
+ subtitle->only_text()->set_language(dcp::LanguageTag("de"));
make_and_verify_dcp (film, { dcp::VerificationNote::Code::INVALID_STANDARD });