summaryrefslogtreecommitdiff
path: root/test/interrupt_encoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-18 14:23:50 +0100
committerCarl Hetherington <cth@carlh.net>2021-12-18 14:23:50 +0100
commit9ebbeae21efe950c4f18a9f959a8fe9f0be4e8f4 (patch)
tree7dd03bf0d57ff95b94da08b2b095065ef4f923c1 /test/interrupt_encoder_test.cc
parentc6df41f00083b4c34d4993c981cdac97b76eeb95 (diff)
Move make_dcp() out of Film (#2132).
Diffstat (limited to 'test/interrupt_encoder_test.cc')
-rw-r--r--test/interrupt_encoder_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/interrupt_encoder_test.cc b/test/interrupt_encoder_test.cc
index 5b76e67d3..2e839336d 100644
--- a/test/interrupt_encoder_test.cc
+++ b/test/interrupt_encoder_test.cc
@@ -31,6 +31,7 @@
#include "lib/ffmpeg_content.h"
#include "lib/film.h"
#include "lib/job_manager.h"
+#include "lib/make_dcp.h"
#include "lib/ratio.h"
#include "test.h"
#include <boost/test/unit_test.hpp>
@@ -54,7 +55,7 @@ BOOST_AUTO_TEST_CASE (interrupt_encoder_test)
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
- film->make_dcp (TranscodeJob::ChangedBehaviour::IGNORE);
+ make_dcp (film, TranscodeJob::ChangedBehaviour::IGNORE);
dcpomatic_sleep_seconds (10);