summaryrefslogtreecommitdiff
path: root/test/black_fill_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/black_fill_test.cc
parentf0738a22fc7555c306d49bcd1c356ce210e2c0e2 (diff)
Add support for no-scale of the input video.
Requested-by: Gérald Maruccia
Diffstat (limited to 'test/black_fill_test.cc')
-rw-r--r--test/black_fill_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/black_fill_test.cc b/test/black_fill_test.cc
index 9e8aa381b..c2170d891 100644
--- a/test/black_fill_test.cc
+++ b/test/black_fill_test.cc
@@ -38,9 +38,9 @@ BOOST_AUTO_TEST_CASE (black_fill_test)
film->set_container (Ratio::from_id ("185"));
film->set_sequence_video (false);
shared_ptr<ImageContent> contentA (new ImageContent (film, "test/data/simple_testcard_640x480.png"));
- contentA->set_ratio (Ratio::from_id ("185"));
+ contentA->set_scale (VideoContentScale (Ratio::from_id ("185")));
shared_ptr<ImageContent> contentB (new ImageContent (film, "test/data/simple_testcard_640x480.png"));
- contentB->set_ratio (Ratio::from_id ("185"));
+ contentB->set_scale (VideoContentScale (Ratio::from_id ("185")));
film->examine_and_add_content (contentA);
film->examine_and_add_content (contentB);