summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 16:00:47 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-20 16:00:47 +0200
commitdf6cc62c6acb30d42581e07c2eefdcea0e25110d (patch)
tree46faf7919ce33aff2bc4f1a5f0d6d43ef8dd50bf
parenta6d7cb2bd25a179a88aff10a48c905ed0064365d (diff)
Use new_test_film2.
-rw-r--r--test/content_test.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/content_test.cc b/test/content_test.cc
index dce7643dc..45e2638aa 100644
--- a/test/content_test.cc
+++ b/test/content_test.cc
@@ -41,15 +41,9 @@ using namespace dcpomatic;
/** There has been garbled audio with this piece of content */
BOOST_AUTO_TEST_CASE (content_test1)
{
- auto film = new_test_film ("content_test1");
- film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
- film->set_name ("content_test1");
- film->set_container (Ratio::from_id ("185"));
- film->set_audio_channels(16);
-
auto content = content_factory(TestPaths::private_data() / "demo_sound_bug.mkv")[0];
- film->examine_and_add_content (content);
- BOOST_REQUIRE (!wait_for_jobs ());
+ auto film = new_test_film2("content_test1", { content });
+ film->set_audio_channels(16);
make_and_verify_dcp (
film,
{ dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE, dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE }