summaryrefslogtreecommitdiff
path: root/test/reel_writer_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-12 15:29:12 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-15 12:44:53 +0100
commitde1b4a967e6854782e88e83d48af74289977c8c3 (patch)
tree97b75a9d24e8f047f17f05a919a80c806b6544f0 /test/reel_writer_test.cc
parenta4a7d9ef34f2f083b0ba9e32e933ea5c64d2352d (diff)
Inspect most DCPs made during tests with ClairMeta (#76).
Diffstat (limited to 'test/reel_writer_test.cc')
-rw-r--r--test/reel_writer_test.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/reel_writer_test.cc b/test/reel_writer_test.cc
index e4e7c6c42..ec2469898 100644
--- a/test/reel_writer_test.cc
+++ b/test/reel_writer_test.cc
@@ -126,7 +126,8 @@ BOOST_AUTO_TEST_CASE (reel_reuse_video_test)
/* Change the audio and re-make */
audio->audio->set_gain (-3);
- make_and_verify_dcp (film);
+ /* >1 CPLs in the DCP raises an error in ClairMeta */
+ make_and_verify_dcp(film, {}, true, false);
/* Video ID should be the same, sound different */
dcp::DCP dcp2 (film->dir(film->dcp_name()));
@@ -140,7 +141,8 @@ BOOST_AUTO_TEST_CASE (reel_reuse_video_test)
/* Crop video and re-make */
video->video->set_left_crop (5);
- make_and_verify_dcp (film);
+ /* >1 CPLs in the DCP raises an error in ClairMeta */
+ make_and_verify_dcp(film, {}, true, false);
/* Video and sound IDs should be different */
dcp::DCP dcp3 (film->dir(film->dcp_name()));