summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-21 09:18:16 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-21 09:18:16 +0000
commitc4b4259c6f214a14a71f89f6d219b40f7177cd0f (patch)
treeeba4cddd94ebd175bc4f3a4673c3caae37568f84 /test
parent588c523d331baa41363f7cf4008a1bd30ab7e88c (diff)
Fix scaling test.
Diffstat (limited to 'test')
-rw-r--r--test/scaling_test.cc3
1 files changed, 1 insertions, 2 deletions
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> 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";