From: Carl Hetherington Date: Fri, 21 Nov 2014 09:18:16 +0000 (+0000) Subject: Fix scaling test. X-Git-Tag: v2.0.48~471 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=c4b4259c6f214a14a71f89f6d219b40f7177cd0f Fix scaling test. --- diff --git a/test/scaling_test.cc b/test/scaling_test.cc index e37b60949..441af6bf3 100644 --- a/test/scaling_test.cc +++ b/test/scaling_test.cc @@ -33,13 +33,12 @@ using boost::shared_ptr; static void scaling_test_for (shared_ptr film, shared_ptr 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";