summaryrefslogtreecommitdiff
path: root/test/scaling_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-04 16:44:20 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-04 16:44:20 +0000
commit3753cb8685e1755b067676345a5871db24149d0f (patch)
tree96dbcc8bd10583fcb1ee23823855b0e8ea7aa0fd /test/scaling_test.cc
parentf0738a22fc7555c306d49bcd1c356ce210e2c0e2 (diff)
Add support for no-scale of the input video.
Requested-by: Gérald Maruccia
Diffstat (limited to 'test/scaling_test.cc')
-rw-r--r--test/scaling_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scaling_test.cc b/test/scaling_test.cc
index c936fe8d4..f0cf3fe4a 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> 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 ();