More of previous.
[dcpomatic.git] / test / scaling_test.cc
index 441af6bf30514ecb2eaaafa58ae7deea3ffdaa16..e37b609495d2a9f085643e762dd94a5b477aef07 100644 (file)
@@ -33,12 +33,13 @@ using boost::shared_ptr;
 
 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";