/** @file test/scaling_test.cc
* @brief Test scaling and black-padding of images from a still-image source.
+ * @ingroup specific
*/
#include <boost/test/unit_test.hpp>
{
content->video->set_scale (VideoContentScale (Ratio::from_id (image)));
film->set_container (Ratio::from_id (container));
+ film->set_interop (false);
film->make_dcp ();
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
boost::filesystem::path ref;
ref = "test";
shared_ptr<Film> film = new_test_film ("scaling_test");
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
film->set_name ("scaling_test");
- shared_ptr<ImageContent> imc (new ImageContent (film, "test/data/simple_testcard_640x480.png"));
+ shared_ptr<ImageContent> imc (new ImageContent("test/data/simple_testcard_640x480.png"));
film->examine_and_add_content (imc);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
imc->video->set_length (1);