R->set_trim_end (dcpomatic::ContentTime::from_seconds(22));
film->set_three_d (true);
- make_and_verify_dcp (film, {dcp::VerificationNote::Code::INVALID_PICTURE_ASSET_RESOLUTION_FOR_3D});
+ make_and_verify_dcp(
+ film,
+ {dcp::VerificationNote::Code::INVALID_PICTURE_ASSET_RESOLUTION_FOR_3D},
+ true,
+ /* XXX: Clairmeta error about invalid edit rate 24 for 4K 3D */
+ false
+ );
}
film->examine_and_add_content (L);
auto R = make_shared<FFmpegContent>("test/data/3dR.mp4");
film->examine_and_add_content (R);
+ film->set_audio_channels(16);
BOOST_REQUIRE (!wait_for_jobs());
L->video->set_frame_type (VideoFrameType::THREE_D_LEFT);
std::vector<directory_entry> matches;
std::copy_if(recursive_directory_iterator(*input_dcp), recursive_directory_iterator(), std::back_inserter(matches), [](directory_entry const& entry) {
- return boost::algorithm::starts_with(entry.path().leaf().string(), "j2c");
+ return boost::algorithm::starts_with(entry.path().filename().string(), "j2c");
});
BOOST_REQUIRE_EQUAL(matches.size(), 1U);