static void scaling_test_for (shared_ptr<Film> film, shared_ptr<VideoContent> content, string image, string container)
{
+ content->set_scale (VideoContentScale (Ratio::from_id (image)));
film->set_container (Ratio::from_id (container));
film->make_dcp ();
wait_for_jobs ();
- content->set_scale (VideoContentScale (Ratio::from_id (image)));
-
boost::filesystem::path ref;
ref = "test";
ref /= "data";
film->set_name ("scaling_test");
shared_ptr<ImageContent> imc (new ImageContent (film, "test/data/simple_testcard_640x480.png"));
- film->examine_and_add_content (imc);
+ film->examine_and_add_content (imc, true);
wait_for_jobs ();