Hand-apply bbfb370d7de28ec1e8f307865cc6253bb5d4366e from master; quicker digest calcu...
[dcpomatic.git] / test / scaling_test.cc
index e37b609495d2a9f085643e762dd94a5b477aef07..441af6bf30514ecb2eaaafa58ae7deea3ffdaa16 100644 (file)
@@ -33,13 +33,12 @@ 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";