Supporters update.
[dcpomatic.git] / test / interrupt_encoder_test.cc
index 5b76e67d357d44b347d4b347fdff954eb4e2f0c3..f0755d3a0dd69cc0506631455508d4dec1cf1bc2 100644 (file)
 #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>
 
 
 using std::make_shared;
-using std::shared_ptr;
 
 
 /** Interrupt a DCP encode when it is in progress, as this used to (still does?)
@@ -54,7 +54,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);