/** @file test/interrupt_encoder_test.cc
* @brief Test clean shutdown of threads if a DCP encode is interrupted.
- * @ingroup specific
+ * @ingroup feature
*/
#include "lib/film.h"
#include "test.h"
#include <boost/test/unit_test.hpp>
-using boost::shared_ptr;
+using std::shared_ptr;
/** Interrupt a DCP encode when it is in progress, as this used to (still does?)
* sometimes give an error related to pthreads.
film->set_container (Ratio::from_id ("185"));
film->set_name ("interrupt_encoder_test");
- shared_ptr<FFmpegContent> content (new FFmpegContent(private_data / "prophet_long_clip.mkv"));
+ shared_ptr<FFmpegContent> content (new FFmpegContent(TestPaths::private_data() / "prophet_long_clip.mkv"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
film->make_dcp ();
- dcpomatic_sleep (10);
+ dcpomatic_sleep_seconds (10);
JobManager::drop ();
}