X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fscaling_test.cc;h=cdf1653cdf84a7c78b40f1518a3d81516a600063;hb=402eeecead89fe0703b641cdc4cecc29db18311e;hp=c936fe8d45fa4175e8c774d1782238e35a28b6bf;hpb=ef4cd174472dc1c4694d4451dc60b9292c60666b;p=dcpomatic.git diff --git a/test/scaling_test.cc b/test/scaling_test.cc index c936fe8d4..cdf1653cd 100644 --- a/test/scaling_test.cc +++ b/test/scaling_test.cc @@ -33,7 +33,7 @@ using boost::shared_ptr; static void scaling_test_for (shared_ptr film, shared_ptr content, string image, string container) { - content->set_ratio (Ratio::from_id (image)); + content->set_scale (VideoContentScale (Ratio::from_id (image))); film->set_container (Ratio::from_id (container)); film->make_dcp (); @@ -56,7 +56,7 @@ static void scaling_test_for (shared_ptr film, shared_ptr co BOOST_AUTO_TEST_CASE (scaling_test) { shared_ptr film = new_test_film ("scaling_test"); - film->set_dcp_content_type (DCPContentType::from_dci_name ("FTR")); + film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR")); film->set_name ("scaling_test"); shared_ptr imc (new ImageContent (film, "test/data/simple_testcard_640x480.png"));