diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-14 01:01:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 65b331d32c383f3a9049f29bf03ab3fe3193b31a (patch) | |
| tree | 3b27e0ca60742021094cee889a1c8d1ef4d75f8c /test/scaling_test.cc | |
| parent | 6dd3777a0074f6f97c7f7286621006a1c14376e8 (diff) | |
Split audio; builds.
Diffstat (limited to 'test/scaling_test.cc')
| -rw-r--r-- | test/scaling_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scaling_test.cc b/test/scaling_test.cc index b6b38e126..25359c605 100644 --- a/test/scaling_test.cc +++ b/test/scaling_test.cc @@ -26,14 +26,15 @@ #include "lib/ratio.h" #include "lib/film.h" #include "lib/dcp_content_type.h" +#include "lib/video_content.h" #include "test.h" using std::string; using boost::shared_ptr; -static void scaling_test_for (shared_ptr<Film> film, shared_ptr<VideoContent> content, string image, string container) +static void scaling_test_for (shared_ptr<Film> film, shared_ptr<Content> content, string image, string container) { - content->set_scale (VideoContentScale (Ratio::from_id (image))); + content->video->set_scale (VideoContentScale (Ratio::from_id (image))); film->set_container (Ratio::from_id (container)); film->make_dcp (); @@ -64,7 +65,7 @@ BOOST_AUTO_TEST_CASE (scaling_test) wait_for_jobs (); - imc->set_video_length (1); + imc->video->set_video_length (1); /* F-133: 133 image in a flat container */ scaling_test_for (film, imc, "133", "185"); @@ -80,4 +81,3 @@ BOOST_AUTO_TEST_CASE (scaling_test) /* S: scope image in a scope container */ scaling_test_for (film, imc, "239", "239"); } - |
