Add support for no-scale of the input video.
[dcpomatic.git] / test / scaling_test.cc
index c936fe8d45fa4175e8c774d1782238e35a28b6bf..f0cf3fe4a5bf89a3b473abac7af75d9071b89076 100644 (file)
@@ -33,7 +33,7 @@ using boost::shared_ptr;
 
 static void scaling_test_for (shared_ptr<Film> film, shared_ptr<VideoContent> 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 ();